PHP 인터페이스 Webiny\Component\Security\Token\CryptDrivers\CryptDriverInterface

파일 보기 프로젝트 열기: Webiny/Framework

공개 메소드들

메소드 설명
decrypt ( string $string, string $key ) : string Decrypts the given $string that was encrypted with the $key.
encrypt ( string $string, string $key ) : string Encrypts the given $string using the $key variable as encryption key.

메소드 상세

decrypt() 공개 메소드

Decrypts the given $string that was encrypted with the $key.
public decrypt ( string $string, string $key ) : string
$string string Encrypted string.
$key string Key used for encryption.
리턴 string Decrypted string.

encrypt() 공개 메소드

Encrypts the given $string using the $key variable as encryption key.
public encrypt ( string $string, string $key ) : string
$string string Raw string that should be encrypted.
$key string Security key used for encryption.
리턴 string Encrypted key.