<?php $string = "secret"; $key = hash('sha512', 'The insecure key', 1); echo base64_encode(mcrypt_encrypt('MCRYPT_RIJNDAEL_256', $key, $string, MCRYPT_MODE_CBC));
You have javascript disabled. You will not be able to edit any code.