crypt

function call:
string crypt( string $str [, string $salt ] )

description:
crypt() will return an encrypted string using the standard Unix DES-based encryption algorithm or alternative algorithms that may be available on the system.

If no Salt-Argument is given, PHP randomly generates a new one with every use of the function.

To generate a .htpasswd password, simple copy your password in $str and click on "run". The parameter $salt must not be filled. Now copy the generated password in your .htpasswd file with a : as separator to the username in a new line (username:password).

test crypt online:
$str

$salt


Popular:
md5    base64_decode    Generate Password    base64_encode    Google Pagerank    preg_match    unserialize
Last:
md5    base64_decode    strlen    base64_encode    urlencode    unserialize    json_decode