Class hsalsa20


  • public class hsalsa20
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static int ROUNDS  
    • Constructor Summary

      Constructors 
      Constructor Description
      hsalsa20()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int crypto_core​(byte[] outv, byte[] inv, byte[] k, byte[] c)  
      (package private) static int load_littleendian​(byte[] x, int offset)  
      (package private) static int rotate​(int u, int c)  
      (package private) static void store_littleendian​(byte[] x, int offset, int u)  
      • Methods inherited from class java.lang.Object

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

      • hsalsa20

        public hsalsa20()
    • Method Detail

      • rotate

        static int rotate​(int u,
                          int c)
      • load_littleendian

        static int load_littleendian​(byte[] x,
                                     int offset)
      • store_littleendian

        static void store_littleendian​(byte[] x,
                                       int offset,
                                       int u)
      • crypto_core

        public static int crypto_core​(byte[] outv,
                                      byte[] inv,
                                      byte[] k,
                                      byte[] c)