Class SNTRUP761

  • All Implemented Interfaces:
    KEM

    public class SNTRUP761
    extends java.lang.Object
    implements KEM
    • Constructor Summary

      Constructors 
      Constructor Description
      SNTRUP761()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] decapsulate​(byte[] encapsulation)  
      byte[] getPublicKey()  
      void init()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SNTRUP761

        public SNTRUP761()
    • Method Detail

      • init

        public void init()
                  throws java.lang.Exception
        Specified by:
        init in interface KEM
        Throws:
        java.lang.Exception
      • getPublicKey

        public byte[] getPublicKey()
                            throws java.lang.Exception
        Specified by:
        getPublicKey in interface KEM
        Throws:
        java.lang.Exception
      • decapsulate

        public byte[] decapsulate​(byte[] encapsulation)
                           throws java.lang.Exception
        Specified by:
        decapsulate in interface KEM
        Throws:
        java.lang.Exception