Class Noise
java.lang.Object
net.sourceforge.plantuml.dedication.Noise
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
static void
xor
(byte[] buffer, byte[] xor) static void
xor
(byte[] buffer, BlumBlumShub rnd)
-
Constructor Details
-
Noise
public Noise()
-
-
Method Details
-
computeArgon2String
-
computeArgon2bytes
public static byte[] computeArgon2bytes(byte[] buffer, byte[] salt) -
shortHash
public static int shortHash(byte[] buffer, byte[] salt) -
shuffle
-
xor
public static void xor(byte[] buffer, byte[] xor) -
xor
-
reverse
public static byte[] reverse(byte[] buffer, int delta)
-