BitcoinSignerUtils class

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

Constructors

BitcoinSignerUtils()

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

Static Methods

calculatePrivateTweek(List<int> secret, BigInt tweek) 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

safeBitcoinMessagePrefix → const int
Constant representing the safe Bitcoin message prefix.
taprootSighashAll → const int
Constant representing the Taproot signature hash type.