PqLatticeProvider class abstract interface

The raw lattice operations behind PqKemPrimitives / PqSignaturePrimitives.

Implementations perform no length validation (the primitives do that); they own only the cryptography. Records are (publicKey, secretKey) and (ciphertext, sharedSecret).

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
A stable identifier for diagnostics/telemetry (e.g. 'pure-dart-pqcrypto', 'pqclean-ffi').
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dsaGenerateKeyPair(PqSignatureAlgorithm algorithm) → (Uint8List, Uint8List)
dsaGenerateKeyPairSeeded(PqSignatureAlgorithm algorithm, Uint8List seed) → (Uint8List, Uint8List)
dsaSign(PqSignatureAlgorithm algorithm, Uint8List secretKey, Uint8List message, {Uint8List? context, bool preHash = false}) Uint8List
dsaVerify(PqSignatureAlgorithm algorithm, Uint8List publicKey, Uint8List message, Uint8List signature, {Uint8List? context, bool preHash = false}) bool
kemDecapsulate(PqKemAlgorithm algorithm, Uint8List secretKey, Uint8List ciphertext) Uint8List
kemEncapsulate(PqKemAlgorithm algorithm, Uint8List publicKey, {Uint8List? nonce}) → (Uint8List, Uint8List)
kemGenerateKeyPair(PqKemAlgorithm algorithm, {Uint8List? seed}) → (Uint8List, Uint8List)
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