Package com.jcraft.jsch.bc
Class MLKEM768
- java.lang.Object
-
- com.jcraft.jsch.bc.MLKEM768
-
- All Implemented Interfaces:
KEM
public class MLKEM768 extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.bouncycastle.pqc.crypto.mlkem.MLKEMParametersparams
-
Constructor Summary
Constructors Constructor Description MLKEM768()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]decapsulate(byte[] encapsulation)byte[]getPublicKey()voidinit()
-
-
-
Method Detail
-
init
public void init() throws java.lang.Exception
-
getPublicKey
public byte[] getPublicKey() throws java.lang.Exception- Specified by:
getPublicKeyin interfaceKEM- Throws:
java.lang.Exception
-
decapsulate
public byte[] decapsulate(byte[] encapsulation) throws java.lang.Exception- Specified by:
decapsulatein interfaceKEM- Throws:
java.lang.Exception
-
-