Display the drop-down list

crypt()

« crc32 | ctype_alnum »
<?php
$string 
crypt (
    
// string $str
    
  // [string $salt]
);
?>
Result
$string = 'rl.3StKT.4T8M'
Examples
#1 crypt  ("rasmuslerdorf",
 
"rl")
#2 crypt  ("rasmuslerdorf",
 
"_J9..rasm")
#3 crypt  ("rasmuslerdorf",
 
'$1$rasmusle$')
#4 crypt  ("rasmuslerdorf",
 
'$2a$07$usesomesillystringforsalt$')
#5 crypt  ("rasmuslerdorf",
 
'$5$rounds=5000$usesomesillystringforsalt$')
#6 crypt  ("rasmuslerdorf",
 
'$6$rounds=5000$usesomesillystringforsalt$')
See also
mcrypt_create_iv, mcrypt_decrypt, mcrypt_encrypt, mcrypt_get_block_size, mcrypt_get_cipher_name, mcrypt_get_iv_size, mcrypt_get_key_size, mcrypt_list_algorithms, mcrypt_list_modes, mcrypt_module_get_algo_block_size, mcrypt_module_get_algo_key_size, mcrypt_module_get_supported_key_sizes, mcrypt_module_is_block_algorithm, mcrypt_module_is_block_algorithm_mode, mcrypt_module_is_block_mode, mcrypt_module_self_test, md5, openssl_decrypt, openssl_encrypt, openssl_private_decrypt, openssl_private_encrypt, openssl_public_decrypt, openssl_public_encrypt