Re: Encryption Problem

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Jon & Marcus,
Thank you for your replies,
The MD5 permutations are far greater than the permutations of the 20 digit
input number I am dealing with.
I didn't understand the scope of the MD5.
I can ensure uniqueness with an index on the database field. So the initial
insert will fail if I do get a 'meteror strike'
With regard to the Rijndael,
It does generate different results for the same input data each time it
encrypts, of course they all decrypt back to the correct input data. I had
sailed happily down the development stream with the Rijndael until this rock
appeared.
regards
Bob

"Bob" <bob@xxxxxxxxxxx> wrote in message
news:uEj916DYGHA.3448@xxxxxxxxxxxxxxxxxxxxxxx
Hmmm,
From reading it appears that I need a hash. say MD5. But isn't there a
finite possibility that two different inputs may yield the same hash?
Thanks
Bob
"Bob" <bob@xxxxxxxxxxx> wrote in message
news:eKdVV1DYGHA.2148@xxxxxxxxxxxxxxxxxxxxxxx
Hi
Problem. Generate valuable 'plain' data on Mach A. Need to write
encrypted
version to CD which gets inputed to database on mach B.
Want the data to be encrypted in the table so it cannot be eyeballed to
see
data.
'Plain' data gets inputted by application to Mach B, if valid match Mach
B
takes action.
So...
Problem is that RijndaelManaged is too smart for the job seeing that
gives
a
unique encryption for the same plain data each time it is invoked.
ie I can't encrypt the plain text input on Machine B and compare it to
the
database string that was originally generated on Mach A because they are
two
different strings.
Obviously sequentially decrypting each item in the database table for a
match check is out of the question.
I realise I am asking for a weakened algorithm here but it is only the
viewing of the data by personnel of low end skills that I am trying to
protect against.

TIA
Bob






.



Relevant Pages

  • Re: Code Review Request: ASN1 bad tag value met on EnvelopedData.Decrypt
    ... We have used MD5 in the past, but when we tried to match hash values ... Kristine ... > from Michel Gallant's page for plain RSA encryption. ... > CAPICOM for plain RSA... ...
    (microsoft.public.platformsdk.security)
  • Re: Installing OpenOffice 1.1 question
    ... Plain ol' md5 is probably what you're looking for. ... first time I tried it in FreeBSD -- I was used to it being called md5sum ...
    (freebsd-questions)
  • Re: MD5 Redhat 9 problem
    ... > output with the official sums by hand/eye. ... No, nothing like that, mach has a couple years age ... Very interesting with this issue via md5. ...
    (alt.os.linux.redhat)