Curve25519 class

Constructors

Curve25519()
Empty Constructor

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

calculateAgreement(KeyPair keyPair, PublicKey publicKey) Uint8List
Calculate shared agreement between A: keyPair and B: other
newKeyPair() KeyPair
Generate new x25519 KeyPair
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign(KeyPair keyPair, Uint8List message, SignatureType type) Signature
Sign byte message message using keyPair
toString() String
A string representation of this object.
inherited
verify(Uint8List message, Signature signature) → dynamic
Verify Signature Boolean return for STANDARD SignatureType False for failure if VRF SignatureType VRF output byte array if true for VRF SignatureType

Operators

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