[WORDPRESS] [Funzione] wp_hash()

wp_hash() (funzione WordPress) restituisce, sotto forma di stringa, l’hash one-way di una stringa.

tips&tricks

Sintassi

wp_hash($stringa, $schema[facoltativo])
parametro descrizione
$stringa La stringa da processare
$schema Lo schema del processo, tra i seguenti valori testuali: "auth" (default), "secure_auth", "logged_in", "nonce"

Esempi

echo wp_hash("Gestiolex");
/* RISULTATO
8e9aabfae1e82f452ba1de233c85cbc1
*/

Fonti esterne

funzioni wordpress, wordpress

Related Articles

0 Comment

Rispondi