Quantcast
Channel: Function Library - Sodapop Documentation
Viewing all articles
Browse latest Browse all 30

$sodapop->hashIt($string)

$
0
0
hashIt() is used for hashing things.  Right now it's just a double md5.  Will probably add another layer of SHA, any suggestion here would be appreciated. 

Parameter: $string: the string to be hashed, usually a password.  Expects: A string, such as a password

Located: class.sodapop.php
public function hashIt($string) {
$string = md5($string);
$string = md5($string);
return $string;
}

Viewing all articles
Browse latest Browse all 30

Trending Articles