classe Crypto (Voir la source)

Méthodes

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

Set the key

static string
encrypt(string $data)

Encrypt data

static string
decrypt(string $data)

decrypt

Détails

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

Set the key

Paramètres

string $key
string $cipher

static string encrypt(string $data)

Encrypt data

Paramètres

string $data

Valeur de retour

string

static string decrypt(string $data)

decrypt

Paramètres

string $data

Valeur de retour

string