Re: Encryption Problem
- From: "Bob" <bob@xxxxxxxxxxx>
- Date: Sat, 15 Apr 2006 21:48:07 +1200
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,encrypted
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
Bversion to CD which gets inputed to database on mach B.see
Want the data to be encrypted in the table so it cannot be eyeballed to
data.
'Plain' data gets inputted by application to Mach B, if valid match Mach
givestakes action.
So...
Problem is that RijndaelManaged is too smart for the job seeing that
athe
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
database string that was originally generated on Mach A because they aretwo
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
.
- Follow-Ups:
- Re: Encryption Problem
- From: Jon Skeet [C# MVP]
- Re: Encryption Problem
- References:
- Encryption Problem
- From: Bob
- Re: Encryption Problem
- From: Bob
- Encryption Problem
- Prev by Date: Re: The internal key word does not work as a book say.
- Next by Date: Thread - CPU usage
- Previous by thread: Re: Encryption Problem
- Next by thread: Re: Encryption Problem
- Index(es):
Relevant Pages
|