Phalcon\Legacy\CryptInterface::encryptBase64 PHP Method

encryptBase64() public method

Encrypts a text returning the result as a base64 string
public encryptBase64 ( string $text, mixed $key = null ) : string
$text string
$key mixed
return string
    public function encryptBase64($text, $key = null);