PqPureDartLatticeProvider class final

The built-in pure-Dart backend (pqcrypto on PointyCastle). Always present; the fallback when no native provider is registered.

Implemented types

Constructors

PqPureDartLatticeProvider()
const

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 setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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