> SHA1 and MD5 are one-way encryption, which means you can encrypt > but not decrypt. So, they won't let you do what you have said > you are trying to do.
Well, strictly speaking, any cryptographically strong hash function can be used to construct a cryptographically strong cipher. The reverse is also true - any strong block cipher can be used in a way that would produce a cryptographically secure hash by using it in CBC-MAC mode using the Davies-Meyer function. I somehow doubt that this is what the original poster had in mind, though. :-) Regards, Vesselin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
