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