[Nh-pm] encryption recommendation

Ben Boulanger ben at blackavar.com
Mon Aug 4 10:07:12 CDT 2003


On Mon, 2003-08-04 at 10:53, Andrew Brosnan wrote:
> That just does one way encryption. I need decryption too.

You mentioned passwords?  The way to verify a password is correct
against the crypted version is to use the crypted version as the salt. 
If, when using the crypted version as the salt, you get the same string
back, it's the correct password.  

if the crypted version of "string" is 
	11111111

then, crypt ("string", "11111111") will give you "11111111"

that do it for you, or do you need something you can decrypt and
display?




More information about the Nh-pm mailing list