PHP 클래스 Crypt, someline-starter

상속: extends Illuminate\Support\Facades\Crypt
파일 보기 프로젝트 열기: someline/someline-starter 1 사용 예제들

공개 메소드들

메소드 설명
decrypt ( string $payload ) : string Decrypt the given value.
encrypt ( string $value ) : string Encrypt the given value.
supported ( string $key, string $cipher ) : boolean Determine if the given key and cipher combination is valid.

메소드 상세

decrypt() 공개 정적인 메소드

Decrypt the given value.
public static decrypt ( string $payload ) : string
$payload string
리턴 string

encrypt() 공개 정적인 메소드

Encrypt the given value.
public static encrypt ( string $value ) : string
$value string
리턴 string

supported() 공개 정적인 메소드

Determine if the given key and cipher combination is valid.
public static supported ( string $key, string $cipher ) : boolean
$key string
$cipher string
리턴 boolean