framework/base/Security.php
public function decryptByKey($data, $inputKey, $info = null)
    {
        return $this->decrypt($data, false, $inputKey, $info);
    }
public function decryptByKey($data, $inputKey, $info = null)
    {
        return $this->decrypt($data, false, $inputKey, $info);
    }
Verifies and decrypts data encrypted with [[encryptByKey()]].
@param string $data the encrypted data to decrypt
@param string $inputKey the input to use for encryption and authentication
@param string $info optional context and application specific information, see [[hkdf()]]
@return bool|string the decrypted data or false on authentication failure
@see encryptByKey()