Bsm class
Bitcoin Signed Message
"Bitcoin Signed Message" just refers to a standard way of signing and verifying an arbitrary message. The standard way to do this involves using a "Bitcoin Signed Message:\n" prefix, which this code does. You are probably interested in the static Bsm.sign( ... ) and Bsm.verify( ... ) functions, which deal with a base64 string representing the compressed format of a signature.
Constructors
Properties
- address ↔ Address?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyPair ↔ KeyPair?
-
getter/setter pair
-
messageBuf
↔ List<
int> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sig ↔ Sig?
-
getter/setter pair
- verified ↔ bool?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
) → Bsm -
toString(
) → String -
A string representation of this object.
inherited
-
verify(
) → dynamic
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- magicBytes ↔ Uint8List
-
getter/setter pair