EdDSA class
EdDSA digital signature algorithm implementation
Constructors
- EdDSA()
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
-
sign(
String message, Uint8List privateKey) → EdDSASignature - Signs a message using EdDSA
-
signHash(
Uint8List messageHash, Uint8List privateKey) → EdDSASignature - Signs a message hash using EdDSA
-
verify(
String message, EdDSASignature signature, Uint8List publicKey) → bool - Verifies an EdDSA signature
-
verifyHash(
Uint8List messageHash, EdDSASignature signature, Uint8List publicKey) → bool - Verifies an EdDSA signature hash