PHP 클래스 Encryption, huge

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: panique/huge 1 사용 예제들

공개 메소드들

메소드 설명
decrypt ( string $ciphertext ) : string Decrypted a string.
encrypt ( string $plain ) : string Encrypt a string.

비공개 메소드들

메소드 설명
__construct ( ) constructor for Encryption object.
hashEquals ( string $hmac, string $compare ) : boolean A timing attack resistant comparison.

메소드 상세

decrypt() 공개 정적인 메소드

Decrypted a string.
public static decrypt ( string $ciphertext ) : string
$ciphertext string
리턴 string

encrypt() 공개 정적인 메소드

Encrypt a string.
public static encrypt ( string $plain ) : string
$plain string
리턴 string