BitcoinSignerUtils class

The BitcoinSignerUtils class provides utility methods related to Bitcoin signing operations.

Constructors

BitcoinSignerUtils.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 Properties

baselen int
The base length of the curve associated with the generator.
no setter
generator ProjectiveECCPoint
The projective ECC (Elliptic Curve Cryptography) point generator for the Secp256k1 curve.
no setter
order BigInt
The order of the generator point on the Secp256k1 curve.
no setter

Static Methods

calculatePrivateTweek(List<int> secret, List<int> tapTweakHash) List<int>
Calculates a private tweak for a given secret and tweak value.
magicMessage(List<int> message, String messagePrefix) List<int>
Applies the magic prefix and calculates the SHA-256 hash of the message for Bitcoin signing.

Constants

signMessagePrefix → const String