RFC6979 class
A class that implements the RFC6979 deterministic K value generation algorithm for ECDSA.
Constructors
- RFC6979()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
bigintToBytesWithPadding(
BigInt x, BigInt order) → List< int> - Converts a BigInt 'num' into a bytes with a specified 'order'.
-
bitsToBigIntWithLengthLimit(
List< int> data, int qlen) → BigInt - Converts a sequence of bits represented as a byte array to a BigInt integer.
-
bitsToOctetsWithOrderPadding(
List< int> data, BigInt order) → List<int> - Converts a sequence of bits represented as a byte array to octets.
-
generateK(
{required BigInt order, required BigInt secexp, required HashFunc< HashState> hashFunc, required List<int> data, int retryGn = 0, List<int> ? extraEntropy}) → BigInt - Generates a deterministic K value for ECDSA signatures.
-
generateSecp256k1KBytes(
{required List< int> secexp, required HashFunc<HashState> hashFunc, required List<int> data, int retryGn = 0, List<int> ? extraEntropy}) → List<int>