An interface responsible for set of low-level cryptographic operation.
We need this because there are several types of secp256k1 implementation
* 1. NBitcoinSecp256k1
* The one we usually want to use. Which depends on NBitcoin's implementation
* 2. BouncySecp256k1
* Fallback when we are compiling with netstandard2.0
, since NBitcoin.Secp256k1
does not support older netstandard version.
* This will be obsolete when we drop the support for netstandard2.1
Instance member | Description |
Full Usage:
this.PrivateKeyTweakAdd
Parameters:
ReadOnlySpan<byte>
privateKeyToMutate : Span<byte>
Returns: bool
Modifiers: abstract |
|
Full Usage:
this.PrivateKeyTweakMultiply
Parameters:
ReadOnlySpan<byte>
privKeyToMutate : Span<byte>
Returns: bool
Modifiers: abstract |
Assume tweak (32 bytes) as a scalar and add
|
|
Combine 2 public keys. Input can be either 33 bytes or 64 bytes. So normalization by PublicKeyParse is required.
|
Full Usage:
this.PublicKeyCreate
Parameters:
ReadOnlySpan<byte>
Returns: bool * byte array
Modifiers: abstract |
|
Full Usage:
this.PublicKeyParse
Parameters:
ReadOnlySpan<byte>
Returns: bool * byte array
Modifiers: abstract |
|
Full Usage:
this.PublicKeySerializeCompressed
Parameters:
ReadOnlySpan<byte>
Returns: bool * byte array
Modifiers: abstract |
|
Full Usage:
this.PublicKeyTweakMultiply
Parameters:
ReadOnlySpan<byte>
pubKeyToMutate : Span<byte>
Returns: bool
Modifiers: abstract |
|