Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Sha512.cs
3
5{
9 public class Sha512 : HashFunction
10 {
14 public override string Oid => "2.16.840.1.101.3.4.2.3";
15
21 public override byte[] ComputeHash(byte[] Data) => Hashes.ComputeSHA512Hash(Data);
22
26 public override HashAlgorithmName Name => HashAlgorithmName.SHA512;
27
31 public override int HashLength => 64;
32 }
33}
override int HashLength
Number of bytes used for the hash digest.
Definition: Sha512.cs:31
override byte[] ComputeHash(byte[] Data)
Computes a Hash Digest from binary data.
override HashAlgorithmName Name
Hash Algorithm Name
Definition: Sha512.cs:26
Contains methods for simple hash calculations.
Definition: Hashes.cs:57
static byte[] ComputeSHA512Hash(byte[] Data)
Computes the SHA-512 hash of a block of binary data.
Definition: Hashes.cs:577