System.Security.Cryptography.ECDsa.SignHash C# (CSharp) Method

SignHash() public abstract method

public abstract SignHash ( byte hash ) : byte[]
hash byte
return byte[]
        public abstract byte[] SignHash(byte[] hash);
        public abstract bool VerifyHash(byte[] hash, byte[] signature);

Usage Example

Beispiel #1
0
 public async Task <byte[]> SignAsync(Stream source)
 {
     byte[] hash;
     using (var sha = System.Security.Cryptography.SHA256.Create())
     {
         hash = sha.ComputeHash(source);
     }
     return(Key.SignHash(hash));
 }
All Usage Examples Of System.Security.Cryptography.ECDsa::SignHash