src/mako/security/crypto/Crypto.php
public function decrypt(string $string)
	{
		$string = $this->signer->validate($string);

		if($string === false)
		{
			throw new CryptoException('Ciphertex has been modified or an invalid authentication key has been provided.');
		}

		return $this->adapter->decrypt($string);
	}
public function decrypt(string $string)
	{
		$string = $this->signer->validate($string);

		if($string === false)
		{
			throw new CryptoException('Ciphertex has been modified or an invalid authentication key has been provided.');
		}

		return $this->adapter->decrypt($string);
	}
public function decrypt ( string $ string ) { $ string = $ this -> signer -> validate ( $ string ) ; if ( $ string === false ) { throw new CryptoException ( 'Ciphertex has been modified or an invalid authentication key has been provided.' ) ; } return $ this -> adapter -> decrypt ( $ string ) ; }
Decrypts string.

@param  string                                $string String to decrypt
@throws \mako\security\crypto\CryptoException
@return string|bool
Decrypts string .