Hash Class |
string sensitiveData = "123456789"; mapper.Fields["external_id"].Value = NetQuarry.Security.Hash.ToSHA256(sensitiveData, "1PUnrmSiicHQLl+S3nOaWnivmjk=");
Namespace: NetQuarry.Security
The Hash type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ToMD5 |
Computes the hash value for the specified phrase. The hash size for the SHA512 algorithm is 128 bits.
|
![]() ![]() | ToRIPEMD160 |
Computes the hash value for the specified phrase. RIPEMD-160 is a 160-bit cryptographic hash function.
It is intended for use as a replacement for the 128-bit hash functions MD4, MD5, and RIPEMD.
|
![]() ![]() | ToSHA1 |
Computes the hash value for the specified phrase. The hash size for the SHA512 algorithm is 160 bits.
|
![]() ![]() | ToSHA256 |
Computes the hash value for the specified phrase. The hash size for the SHA512 algorithm is 256 bits.
|
![]() ![]() | ToSHA384 |
Computes the hash value for the specified phrase. The hash size for the SHA512 algorithm is 384 bits.
|
![]() ![]() | ToSHA512 |
Computes the hash value for the specified phrase. The hash size for the SHA512 algorithm is 512 bits.
|