(Almost) straight from PHP comments ( ) function strtohex($x)įoreach (str_split($x) as $c) $s.=sprintf("%02X",ord($c)) ![]() Note i'm mentioning key and iv because $password in the PHP function openssl_encrypt is actually the key.According to the documentation of OpenSSL ( ) they expect a hex-digit value for key and iv does that mean only numbers? or will a md5 hash do? (Because a md5 doesn't seem reversible)
0 Comments
Leave a Reply. |