Class DefaultCryptoBackend<T>
Inheritance
DefaultCryptoBackend<T>
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
|
Improve this Doc
View Source
Verify(HashDigest<T>, Byte[], PublicKey)
Declaration
public bool Verify(HashDigest<T> messageHash, byte[] signature, PublicKey publicKey)
Parameters
Returns
Implements