Packages that use SecretWithEncapsulation
Package
Description
This is a small portion of bouncycastle 1.80 for MLKEM, modified to reduce dependencies.
Shared implementation helpers for the bundled Bouncy Castle post-quantum KEM primitives.
Uses of SecretWithEncapsulation in org.bouncycastle.pqc.crypto.mlkem
Methods in org.bouncycastle.pqc.crypto.mlkem that return SecretWithEncapsulationModifier and TypeMethodDescriptionMLKEMGenerator.generateEncapsulated(AsymmetricKeyParameter recipientKey) Draws 32 fresh random bytes and encapsulates a shared secret for the recipient.MLKEMGenerator.internalGenerateEncapsulated(AsymmetricKeyParameter recipientKey, byte[] randBytes) Encapsulates a secret using the supplied randomness instead of drawing fresh bytes.Uses of SecretWithEncapsulation in org.bouncycastle.pqc.crypto.util
Classes in org.bouncycastle.pqc.crypto.util that implement SecretWithEncapsulationModifier and TypeClassDescriptionclassImplementation of SecretWithEncapsulation for post-quantum cryptography.