UNPKG

asp-identity-pw

Version:

Password hash and validation library that is compatible with the default ASP.NET Core Identity framework.

17 lines (16 loc) 505 B
/** * Specifies the PRF which should be used for the key derivation alogrithm. */ export declare enum KeyDerivationPrf { /** The HMAc algorithm (RFC 2104) using the SHA-1 hash function (FIPS 180-4). */ HMAC_SHA1 = 0, /** The HMAC algorithm (RFC 2104) using the SHA-256 hash function (FIPS 180-4) */ HMAC_SHA256 = 1 } /** * Returns the string representation of the specified key derivation prf. */ export declare const KdPrfDigestMap: { 0: string; 1: string; };