SchnorrKeyUtils class
Schnorrkel (sr25519) scalar-encoding helpers.
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 Methods
-
divideScalarByCofactor(
List< int> s) → List<int> - Divides a little-endian scalar by the cofactor (8), in place.
-
isRawEd25519Clamped(
List< int> scalar) → bool -
Whether
scalarhas RFC 8032 ed25519 clamping already applied. -
multiplyScalarBytesByCofactor(
List< int> scalar) → void - Multiplies a little-endian scalar by the cofactor (8), in place.
-
toCanonical(
List< int> bytes) → List<int> ? -
Returns
byteswith its high bit cleared if it's already a canonical (fully-reduced, high-bit-clear) scalar encoding, else null.