RE: [PHP] encyption using sha1?

From: Date: Fri, 21 Nov 2003 10:20:49 +0000
Subject: RE: [PHP] encyption using sha1?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-170537@lists.php.net to get a copy of this message
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:xp@cookra.co.uk] Sent: Friday, November 21, 2003 10:34 PM To: php-general@lists.php.net 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

« previous php.general (#170537) next »