Class X448


  • public abstract class X448
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  X448.Friend  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int POINT_SIZE  
      static int SCALAR_SIZE  
    • Constructor Summary

      Constructors 
      Constructor Description
      X448()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean calculateAgreement​(byte[] k, int kOff, byte[] u, int uOff, byte[] r, int rOff)  
      static void generatePrivateKey​(java.security.SecureRandom random, byte[] k)  
      static void generatePublicKey​(byte[] k, int kOff, byte[] r, int rOff)  
      static void precompute()  
      static void scalarMult​(byte[] k, int kOff, byte[] u, int uOff, byte[] r, int rOff)  
      static void scalarMultBase​(byte[] k, int kOff, byte[] r, int rOff)  
      • Methods inherited from class java.lang.Object

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

      • X448

        public X448()
    • Method Detail

      • calculateAgreement

        public static boolean calculateAgreement​(byte[] k,
                                                 int kOff,
                                                 byte[] u,
                                                 int uOff,
                                                 byte[] r,
                                                 int rOff)
      • generatePrivateKey

        public static void generatePrivateKey​(java.security.SecureRandom random,
                                              byte[] k)
      • generatePublicKey

        public static void generatePublicKey​(byte[] k,
                                             int kOff,
                                             byte[] r,
                                             int rOff)
      • precompute

        public static void precompute()
      • scalarMult

        public static void scalarMult​(byte[] k,
                                      int kOff,
                                      byte[] u,
                                      int uOff,
                                      byte[] r,
                                      int rOff)
      • scalarMultBase

        public static void scalarMultBase​(byte[] k,
                                          int kOff,
                                          byte[] r,
                                          int rOff)