public static function encryptMail($mail, $key = null, $hmacSalt = null)
    {
        return base64_encode(parent::encrypt($mail, $key ?: Configure::read('RecaptchaMailhide.encryptKey'), $hmacSalt));
    }
public static function encryptMail($mail, $key = null, $hmacSalt = null)
    {
        return base64_encode(parent::encrypt($mail, $key ?: Configure::read('RecaptchaMailhide.encryptKey'), $hmacSalt));
    }
public static function encryptMail ( $ mail , $ key = null , $ hmacSalt = null ) { return base64_encode ( parent :: encrypt ( $ mail , $ key ? : Configure :: read ( 'RecaptchaMailhide.encryptKey' ) , $ hmacSalt ) ) ; }
Encrypts and encodes an email address
@param string $mail Email address
@param string $key The 256 bit/32 byte key to use as a cipher key. Leave
`null` to use `Security.salt`
@param string|null $hmacSalt The salt to use for the HMAC process. Leave
`null` to use `Security.salt`
@return string Encrypted email address
Encrypts and encodes an email address