PHP 인터페이스 ManaPHP\Security\CryptInterface

파일 보기 프로젝트 열기: manaphp/manaphp

공개 메소드들

메소드 설명
decrypt ( string $text, string $key = null ) : string Decrypts a text
encrypt ( string $text, string $key = null ) : string Encrypts a text

메소드 상세

decrypt() 공개 메소드

Decrypts a text
public decrypt ( string $text, string $key = null ) : string
$text string
$key string
리턴 string

encrypt() 공개 메소드

Encrypts a text
public encrypt ( string $text, string $key = null ) : string
$text string
$key string
리턴 string