Bouncy Castle Cryptography Library 1.81

org.bouncycastle.pqc.crypto.saber
Class SABERKEMGenerator

java.lang.Object
  extended byorg.bouncycastle.pqc.crypto.saber.SABERKEMGenerator
All Implemented Interfaces:
EncapsulatedSecretGenerator

public class SABERKEMGenerator
extends java.lang.Object
implements EncapsulatedSecretGenerator


Constructor Summary
SABERKEMGenerator(java.security.SecureRandom random)
           
 
Method Summary
 SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey)
          Generate secret/encapsulation based on the recipient public key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SABERKEMGenerator

public SABERKEMGenerator(java.security.SecureRandom random)
Method Detail

generateEncapsulated

public SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey)
Description copied from interface: EncapsulatedSecretGenerator
Generate secret/encapsulation based on the recipient public key.

Specified by:
generateEncapsulated in interface EncapsulatedSecretGenerator
Returns:
An SecretWithEncapsulation derived from the recipient public key.

Bouncy Castle Cryptography Library 1.81