DartX25519 class

X25519 implemented in pure Dart.

Inheritance
Mixed-in types

Constructors

DartX25519()
const

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
sharedSecretKey({required KeyPair keyPair, required PublicKey remotePublicKey}) Future<SecretKey>
Calculates a shared SecretKey.
inherited
sharedSecretSync({required KeyPairData keyPairData, required PublicKey remotePublicKey}) SecretKey
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

modifiedPrivateKeyBytes(List<int> seed) Uint8List
Modifies certain bits of seed so that the result is a valid secret key.