MLDSASigningApi class abstract interface

Backend interface for ML-DSA (FIPS 204) key generation/signing/verification.

Implementers

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

keygen({required int level, List<int>? seed}) → (BuBytes, BuBytes)
Generate a key pair.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publicKeyFromSecret({int? level, required List<int> sk}) → BuBytes
Derive public key from secret key.
sign({int? level, required List<int> sk, required List<int> message, List<int>? rnd, List<int>? context}) → BuBytes
Sign message.
toString() → String
A string representation of this object.
inherited
verify({int? level, required List<int> pk, required List<int> message, required List<int> signature, List<int>? context}) → bool
Verify signature.

Operators

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