PqSymmetricPrimitives class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
aesGcmDecrypt({required Uint8List key, required Uint8List nonce, required Uint8List ciphertext, Uint8List? aad})
→ Uint8List
-
-
aesGcmEncrypt({required Uint8List key, required Uint8List nonce, required Uint8List plaintext, Uint8List? aad})
→ Uint8List
-
-
argon2id({required String password, required Uint8List salt, int outputBytes = pqForgeDefaultSessionKeyBytes, int iterations = 2, int memoryPowerOf2 = 16, int lanes = 4})
→ Uint8List
-
-
hkdfSha256({required Uint8List ikm, required Uint8List salt, required Uint8List info, int outputBytes = pqForgeDefaultSessionKeyBytes})
→ Uint8List
-
-
pbkdf2Sha256({required String password, required Uint8List salt, int outputBytes = pqForgeDefaultSessionKeyBytes, int iterations = 600000})
→ Uint8List
-
PBKDF2-HMAC-SHA256 (NIST SP 800-132) — the FIPS-approved password KDF,
offered alongside Argon2id for deployments that require it.