Secp256k1Utils class

Constructors

Secp256k1Utils.new()

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

feFromBytes(Secp256k1Fe f) List<int>
create field from bytes
feToBytes(Secp256k1Fe f) List<int>
convert field to 32 bytes.
generatePublicKey(List<int> scalarBytes) List<int>?
ecmult and then generate public key
generatePublicKeyBlind(List<int> scalarBytes, {Secp256k1ECmultGenContext? context}) List<int>?
initalizeBlindEcMultContext({List<int>? seed}) Secp256k1ECmultGenContext
generate ecmult blind context for ecmult using blind alg.
scalarFromBytes(List<int> scalarBytes) Secp256k1Scalar
convert bytes 32 to scalar.
scalarToBytes(Secp256k1Scalar s) List<int>
convert scalar to 32 bytes
scCheck(Secp256k1Scalar scalar) bool
check scalar is valid and not zero
secp256k1ECkeyPubkeySerialize(Secp256k1Ge elem, bool compressed) List<int>?
convert ge to public key
secp256k1ECmultGenBlind(Secp256k1ECmultGenContext ctx, List<int>? seed32) → void
generate blind context