Class Noise


  • public class Noise
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Noise()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] computeArgon2bytes​(byte[] buffer, byte[] salt)  
      static java.lang.String computeArgon2String​(byte[] buffer, byte[] salt)  
      static byte[] reverse​(byte[] buffer, int delta)  
      static int shortHash​(byte[] buffer, byte[] salt)  
      static void shuffle​(byte[] buffer, MTRandom rnd)  
      static void xor​(byte[] buffer, byte[] xor)  
      static void xor​(byte[] buffer, BlumBlumShub rnd)  
      • Methods inherited from class java.lang.Object

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

      • Noise

        public Noise()
    • Method Detail

      • computeArgon2String

        public static java.lang.String computeArgon2String​(byte[] buffer,
                                                           byte[] salt)
      • computeArgon2bytes

        public static byte[] computeArgon2bytes​(byte[] buffer,
                                                byte[] salt)
      • shortHash

        public static int shortHash​(byte[] buffer,
                                    byte[] salt)
      • shuffle

        public static void shuffle​(byte[] buffer,
                                   MTRandom rnd)
      • xor

        public static void xor​(byte[] buffer,
                               byte[] xor)
      • xor

        public static void xor​(byte[] buffer,
                               BlumBlumShub rnd)
      • reverse

        public static byte[] reverse​(byte[] buffer,
                                     int delta)