Signature class

Signature algorithm, Implements ed25519.

Constructors

Signature()

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 Properties

publicKeyLength int
final
signatureLength int
final

Static Methods

detached(Uint8List message, Uint8List secretKey) Uint8List
Signs the message using the secret key and returns a signature.
detachedVerify(Uint8List message, Uint8List signature, Uint8List publicKey) bool
Verifies the signature for the message and returns true if verification succeeded or false if it failed.
sign(Uint8List message, Uint8List secretKey) Uint8List?
Signs the message using the secret key and returns a signed message.
signLen(Uint8List message, int moff, int mlen, Uint8List secretKey) Uint8List?