SaplingSpendVerificationKey class

Inheritance
Mixed-in types

Properties

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

Methods

generator() JubJubNativePoint
Returns the group generator.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
randomize(JubJubNativeFr randomizer) SaplingSpendVerificationKey
Returns a randomized version of this verification key.
override
toBytes() List<int>
Serializes the verification key to bytes.
override
toLayout({String? property}) Layout<Map<String, dynamic>>
Converts the object into a Layout for serialization.
override
toPoint() JubJubNativePoint
Converts to the corresponding group element.
override
toSerializeBytes({String? property}) List<int>
Serializes the object to bytes using its layout.
inherited
toSerializeJson() Map<String, dynamic>
Serializes the object to JSON.
override
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.
inherited
verifySignatureBytes(List<int> signatureBytes, List<int> message, {bool hashMessage = true}) bool
Verifies a signature given as bytes.
inherited

Operators

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

Static Methods

layout({String? property}) Layout<Map<String, dynamic>>