Last Message Messed Up So here goes again...

$hashed_string = sha1{$string); is correct except use $hashed_string =
sha1($string); - watch out for Curly Brackets they give you those annoying
Phase Errors


Resource: http://nz2.php.net/manual/en/function.sha1.php

-----Original Message-----
From: Erin [mailto:[EMAIL PROTECTED]
Sent: Friday, November 21, 2003 10:34 PM
To: [EMAIL PROTECTED]
Subject: [PHP] encyption using sha1?


Hi all,
    I need some help with storing passwords does anyone have any thoughts on
sha1()?

Any other ideas are welcome.

Am i right in thinking that to use sha1 ya do this:

$hashed_string = sha1{$string);


R

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to