The raw classical operations behind the hybrid layer. Implementations own only the cryptography; the callers keep their own length/validation checks.
- Implementers
Properties
Methods
-
ecdsaP256GenerateKeyPair(
) → Future< ({Uint8List publicKey, Uint8List secretKey})> -
ecdsaP256PublicKeyFromPrivate(
Uint8List secretKey) → Future< Uint8List> -
ecdsaP256Sign(
{required Uint8List secretKey, required Uint8List message}) → Future< Uint8List> -
ecdsaP256Verify(
{required Uint8List publicKey, required Uint8List message, required Uint8List signature}) → Future< bool> -
ed25519GenerateKeyPair(
{Uint8List? seed}) → Future< ({Uint8List publicKey, Uint8List secretKey})> -
ed25519PublicKeyFromSeed(
Uint8List seed) → Future< Uint8List> -
ed25519Sign(
{required Uint8List secretKey, required Uint8List publicKey, required Uint8List message}) → Future< Uint8List> -
ed25519Verify(
{required Uint8List publicKey, required Uint8List message, required Uint8List signature}) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
x25519GenerateKeyPair(
{Uint8List? seed}) → Future< ({Uint8List publicKey, Uint8List secretKey})> -
X25519 ECDH between our 32-byte
secretKey(which is also its seed) and a 32-byteremotePublicKey, returning the 32-byte shared secret.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited