VerificationKey<SCALAR extends CryptoField<SCALAR>, P extends CryptoGroupElement<P, SCALAR>, V extends VerificationKey<SCALAR, P, V>> class abstract

Abstract base for a RedDSA verification key.

Mixed-in types
Implementers

Constructors

VerificationKey()
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) → V
Returns a randomized version of this verification key.
toBytes() List<int>
Serializes the verification key to bytes.
toPoint() → P
Converts to the corresponding group element.
toString() String
A string representation of this object.
inherited
verifySignature(ReddsaSignature signature, List<int> message, {bool hashMessage = true}) bool
Verifies a RedDSA signature for a message.
verifySignatureBytes(List<int> signatureBytes, List<int> message, {bool hashMessage = true}) bool
Verifies a signature given as bytes.

Operators

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