ETHSignerConst class
Constants used by the Ethereum Signer for cryptographic operations.
This class provides essential constants related to the Ethereum Signer, including curve parameters, signature lengths, and the Ethereum personal sign prefix. These constants are used in cryptographic operations for signing and verifying Ethereum transactions and messages.
Constructors
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
- curveOrder → BigInt
-
The order of the secp256k1 elliptic curve.
final
- digestLength → int
-
The length of the digest (or component) in bytes for the secp256k1 curve.
final
- orderHalf → BigInt
-
Half of the order of the secp256k1 elliptic curve.
final
- secp256 → ProjectiveECCPoint
-
The projective ECC point representing the secp256k1 elliptic curve.
final
Constants
- ethPersonalSignPrefix → const String
- The Ethereum personal sign prefix used in message signing.+
- ethSignatureLength → const int
- The length of an Ethereum signature (r + s) in bytes.
- ethSignatureRecoveryIdLength → const int
- The length of the recovery id in an Ethereum signature in bytes.