Class Noise
- java.lang.Object
-
- net.sourceforge.plantuml.dedication.Noise
-
public class Noise extends 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 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)
-
-
-
Method Detail
-
computeArgon2String
public static 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)
-
-