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.MLKEMParameters
params
-
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()
void
init()
-
-
-
Method Detail
-
init
public void init() throws java.lang.Exception
-
getPublicKey
public byte[] getPublicKey() throws java.lang.Exception
- Specified by:
getPublicKey
in interfaceKEM
- Throws:
java.lang.Exception
-
decapsulate
public byte[] decapsulate(byte[] encapsulation) throws java.lang.Exception
- Specified by:
decapsulate
in interfaceKEM
- Throws:
java.lang.Exception
-
-