示例#1
0
function _recaptcha_aes_encrypt($val, $ky)
{
    if (!function_exists("mcrypt_encrypt")) {
        return false;
    }
    $mode = MCRYPT_MODE_CBC;
    $enc = MCRYPT_RIJNDAEL_128;
    $val = _recaptcha_aes_pad($val);
    return mcrypt_encrypt($enc, $ky, $val, $mode, "");
}
示例#2
0
function _recaptcha_aes_encrypt($val, $ky)
{
    if (!function_exists("mcrypt_encrypt")) {
        die("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
    }
    $mode = MCRYPT_MODE_CBC;
    $enc = MCRYPT_RIJNDAEL_128;
    $val = _recaptcha_aes_pad($val);
    return mcrypt_encrypt($enc, $ky, $val, $mode, "");
}
示例#3
0
<?php