| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static short[][] | |
| public static short[][][] | |
| public static short[] | Returns: out one-dimensional short-array that corresponds the inputthe array to be converted in)This function converts an one-dimensional array of bytes into a one-dimensional array of type short |
| public static byte[] | Returns: out the byte-array that corresponds the inputthe array to be converted in)This function converts an array of type short into an array of type byte |
| public static boolean | Returns: the result of the comparisonthe first short array left, short[] the second short array right)Compare two short arrays. |
| public static boolean | Returns: the result of the comparisonthe first short array left, short[][] the second short array right)Compare two two-dimensional short arrays. |
| public static boolean | Returns: the result of the comparisonthe first short array left, short[][][] the second short array right)Compare two three-dimensional short arrays. |
| public static short[][][] | |
| public static short[][] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static int | |
| public static int |
| RainbowUtil | back to summary |
|---|---|
| pack-priv RainbowUtil() | |
| cloneArray | back to summary |
|---|---|
| public static short[][] cloneArray(short[][] toCopy) | |
| cloneArray | back to summary |
|---|---|
| public static short[][][] cloneArray(short[][][] toCopy) | |
| convertArray | back to summary |
|---|---|
| public static short[] convertArray(byte[] in) This function converts an one-dimensional array of bytes into a one-dimensional array of type short
| |
| convertArray | back to summary |
|---|---|
| public static byte[] convertArray(short[] in) This function converts an array of type short into an array of type byte
| |
| equals | back to summary |
|---|---|
| public static boolean equals(short[] left, short[] right) Compare two short arrays. No null checks are performed.
| |
| equals | back to summary |
|---|---|
| public static boolean equals(short[][] left, short[][] right) Compare two two-dimensional short arrays. No null checks are performed.
| |
| equals | back to summary |
|---|---|
| public static boolean equals(short[][][] left, short[][][] right) Compare two three-dimensional short arrays. No null checks are performed.
| |
| generate_random | back to summary |
|---|---|
| public static short[][][] generate_random(SecureRandom sr, int dim_batch, int dim_row, int dim_col, boolean triangular) | |
| generate_random_2d | back to summary |
|---|---|
| public static short[][] generate_random_2d(SecureRandom sr, int dim_row, int dim_col) | |
| getEncoded | back to summary |
|---|---|
| public static byte[] getEncoded(short[][] a) | |
| getEncoded | back to summary |
|---|---|
| public static byte[] getEncoded(short[][][] a, boolean triangular) | |
| hash | back to summary |
|---|---|
| public static byte[] hash(Digest hashAlgo, byte[] partA, byte[] partB, byte[] result) | |
| hash | back to summary |
|---|---|
| public static byte[] hash(Digest hashAlgo, byte[] msg, int hash_length) | |
| loadEncoded | back to summary |
|---|---|
| public static int loadEncoded(short[][] a, byte[] enc, int off) | |
| loadEncoded | back to summary |
|---|---|
| public static int loadEncoded(short[][][] a, byte[] enc, int off, boolean triangular) | |