Class Noise
- java.lang.Object
-
- net.sourceforge.plantuml.dedication.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.StringcomputeArgon2String(byte[] buffer, byte[] salt)static byte[]reverse(byte[] buffer, int delta)static intshortHash(byte[] buffer, byte[] salt)static voidshuffle(byte[] buffer, MTRandom rnd)static voidxor(byte[] buffer, byte[] xor)static voidxor(byte[] buffer, BlumBlumShub rnd)
-
-
-
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)
-
-