PHP Class Crypt, someline-starter

Inheritance: extends Illuminate\Support\Facades\Crypt
Afficher le fichier Open project: someline/someline-starter Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

decrypt() public static méthode

Decrypt the given value.
public static decrypt ( string $payload ) : string
$payload string
Résultat string

encrypt() public static méthode

Encrypt the given value.
public static encrypt ( string $value ) : string
$value string
Résultat string

supported() public static méthode

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