Class DefaultCryptoBackend<T>
Inheritance
System.Object
DefaultCryptoBackend<T>
Assembly: Libplanet.Crypto.dll
Syntax
public class DefaultCryptoBackend<T> : object, 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