encryption
Fairlight
fairlite at fairlite.com
Thu Feb 15 10:34:52 PST 2007
You'll never BELIEVE what Richard Kreiss said here...:
> Question:
>
> The same Credit card number encrypted in two file using the same encryption
> method.
>
> Can I compare the encrypted value in processing to see if they match or do I
> need to unencrypted both and then compare?
Depends what algorithm and if it is guaranteed to yield identical results.
DES, for instance, uses a 2-byte salt. Encrypt the same data with two
different salts, and the result is two different strings. In that case,
you could not do a result comparison.
m->
--
Try our new SPF-0 lotion, SunScream[tm]. Get it while it's hot!
More information about the Filepro-list
mailing list