classe Crypto (Voir la source)

Méthodes

static 
setKey(string $key, string|null $cipher = null)

Set the key

static string|bool
encrypt(string $data)

Encrypt data

static string|bool
decrypt(string $data)

decrypt

Détails

static setKey(string $key, string|null $cipher = null)

Set the key

Paramètres

string $key
string|null $cipher

static string|bool encrypt(string $data)

Encrypt data

Paramètres

string $data

Valeur de retour

string|bool

static string|bool decrypt(string $data)

decrypt

Paramètres

string $data

Valeur de retour

string|bool