I am using these two functions below to encrypt and decrypt a string. I left the example as clean as possible.
Function for encript
$key = '123';
$iv = md5( md5( 'key' ) );
mcrypt_encrypt(MCRYPT_RIJNDAEL_256, md5($key), $string, MCR...
asked by
29.10.2014 / 04:32