Password Hasher
IdentityV2 and IdentityV3 format markers have predefined configurations and output formats.
Use Custom format marker for custom configuration and output format.
Use AspNetCore requires Microsoft. AspNetCore. Cryptography. KeyDerivation. The IdentityV2 = 0x00 format marker
represents a predefined configuration (PBKDF2 with HMAC-SHA1, 128-bit salt, 256-bit subkey, 1000 iterations),
and a predefined output format (Format: { marker(byte), salt, subkey }). The IdentityV3 = 0x01 format marker
represents a predefined configuration (PBKDF2 with HMAC-SHA256, 128-bit salt, 256-bit subkey, 10000 iterations),
and a predefined output format (Format: { marker(byte), prf(UInt32), iter count(UInt32), salt length(UInt32), salt,
subkey }). The prf (Microsoft. AspNetCore. Cryptography. KeyDerivation. KeyDerivationPrf) is an enum for
HMACSHA1 = 0, HMACSHA256 = 1 and HMACSHA512 = 2. If you want to use a different configuration,
you should use a unique format marker. The default Custom format marker's value = 0xC0.