DartEd25519 class
Ed25519 signature algorithm implemented in pure Dart.
- Inheritance
-
- Object
- SignatureAlgorithm
- Ed25519
- DartEd25519
Constructors
- DartEd25519({Sha512? sha512})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keyPairType
→ KeyPairType<
KeyPairData, PublicKey> -
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
newKeyPair(
) → Future< SimpleKeyPair> -
Generates a new KeyPair for this algorithm.
inherited
-
newKeyPairFromSeed(
List< int> seed) → Future<SimpleKeyPair> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
List< int> message, {required KeyPair keyPair, PublicKey? publicKey}) → Future<Signature> -
Calculates signature for the message.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
List< int> message, {required Signature signature}) → Future<bool> -
Verifies the signature.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited