PostQuantum
data class PostQuantum(val publicKeyBase64: String, val privateKeyBase64: String? = null) : KEncryptKeyType(source)
Post-quantum asymmetric encryption (CRYSTALS-Kyber / Kyber-1024).
Encryption uses the public key; decryption uses the private key. Keys are stored as Base64 strings for easy serialisation.
Generate a pair with KEncryptKeyPair.generate, then persist both keys securely (e.g. Android Keystore for the private key).
Parameters
publicKeyBase64
Recipient public key (Base64-encoded).
privateKeyBase64
Recipient private key (Base64-encoded). Required for decryption.