ComputeHash1 Method
Definition
- Namespace
- Cuemon.AspNetCore.Authentication.Digest
- Assemblies
- Cuemon.AspNetCore.Authentication.dll
ComputeHash1(string)
Computes a by parameter defined UnkeyedCryptoAlgorithm hash value of the required values for the HTTP Digest access authentication HA1.
public virtual string ComputeHash1(string password)
Parameters
passwordstringThe password to include in the HA1 computed value.
Returns
- string
A string in the format of H(UserName:Realm:
password). H is determined by DigestAlgorithm.