digisesso Posted August 17, 2009 Share Posted August 17, 2009 Hi people I'm begin I have problems with this i want to decode password <?php function dajsifru($info1) { $query = "info = '$info1'"; $pass = "64306464626136333135383930323830626635326264386634313362366132323339313164373133316265616334643530353935316636323863316263353036"; $iv_size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB); $iv = mcrypt_create_iv($iv_size, MCRYPT_RAND); $encrypted = hex2bin(hex2bin($pass)); $decrypted = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $aid, $encrypted, MCRYPT_MODE_ECB, $iv); $pass = trim($decrypted); echo $pass."<br />pass:!"; } ?> Link to comment https://forums.phpfreaks.com/topic/170715-problem-with-mcrypt_rijndael/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.