Crypto.HashPassword(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne une valeur de hachage RFC 2898 pour le mot de passe spécifié.
public static string HashPassword (string password);
static member HashPassword : string -> string
Public Shared Function HashPassword (password As String) As String
Paramètres
- password
- String
Mot de passe pour lequel générer une valeur de hachage.
Retours
Valeur de hachage pour password
sous forme de chaîne codée en base 64.
Exceptions
password
a la valeur null.