X25519 class abstract final

X25519 (RFC 7748) on TweetNaCl's constant-time scalar multiplication.

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

checkContributory(List<int> shared) → void
Throws if shared is the all-zero value.
diffieHellman(List<int> secretKey, List<int> publicKey) → Uint8List
Computes X25519(secretKey, publicKey).
publicKey(List<int> secretKey) → Uint8List
Computes the public key for secretKey.

Constants

keyLength → const int
Key and shared-secret length.