hash - Convert md5 in base64 in md5 of 32 characters with PHP -
i have example:
md5 base64: wpe2jkrstjxf+kbsdapwyq== md5 using md5_file: c0f136264aec4c9c45f8a6d20c0a7061
how convert firts md5 in second md5?
base64_decode
gets base64 binary, , bin2hex
converts hex:
$var = "wpe2jkrstjxf+kbsdapwyq=="; echo bin2hex (base64_decode ($var)); // prints c0f136264aec4c9c45f8a6d20c0a7061
Comments
Post a Comment