ReddsaSigningKey<SCALAR extends CryptoField<SCALAR>, P extends CryptoGroupElement<P, SCALAR>, SCALARNATIVE extends CryptoField<SCALARNATIVE>, PNATIVE extends CryptoGroupElement<PNATIVE, SCALARNATIVE>, V extends VerificationKey<SCALARNATIVE, PNATIVE, V>, SK extends ReddsaSigningKey<SCALAR, P, SCALARNATIVE, PNATIVE, V, SK>> class abstract

Abstract base for a RedDSA signing key.

Mixed-in types
Implementers

Constructors

ReddsaSigningKey()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variables List
no setterinherited

Methods

generator() → P
Returns the group generator.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
randomize(SCALAR randomizer) → SK
Returns a randomized version of this signing key.
sign(List<int> message) ReddsaSignature
Signs a message and returns a RedDSA signature.
toBytes() List<int>
Serializes the key to bytes.
toString() String
A string representation of this object.
inherited
toVerificationKey() → V
Converts to the corresponding verification key.

Operators

operator ==(Object other) bool
The equality operator.
inherited