PqCryptoSig class

Wrapper class for Post-Quantum Digital Signatures (e.g., ML-DSA / Dilithium).

Constructors

PqCryptoSig(String algName)
Creates a new Digital Signature instance for the given algorithm name (e.g., 'ML-DSA-44').

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

dispose() → void
Disposes of the SIG instance and frees native memory.
generateKeyPair() → List<Uint8List>
Generates a public and secret key pair.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign(Uint8List message, Uint8List secretKey) → Uint8List
Signs a message using the secret key.
toString() → String
A string representation of this object.
inherited
verify(Uint8List message, Uint8List signature, Uint8List publicKey) → bool
Verifies a signature for a given message using the public key.

Operators

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