Class DefaultCryptoBackend<T>
Inheritance
DefaultCryptoBackend<T>
Inherited Members
System.Object.GetType()
System.Object.ToString()
Assembly: Libplanet.Crypto.dll
Syntax
public class DefaultCryptoBackend<T> : ICryptoBackend<T> where T : HashAlgorithm
Type Parameters
Methods
|
Improve this Doc
View Source
Sign(HashDigest<T>, PrivateKey)
Declaration
public byte[] Sign(HashDigest<T> messageHash, PrivateKey privateKey)
Parameters
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
Verify(HashDigest<T>, Byte[], PublicKey)
Declaration
public bool Verify(HashDigest<T> messageHash, byte[] signature, PublicKey publicKey)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements