org.abstractj.kalium.crypto
public class Util extends Object
Modifier and Type | Field and Description |
---|---|
private static int |
DEFAULT_SIZE |
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static void |
checkLength(byte[] data,
int size) |
static boolean |
isValid(int status,
String message) |
static byte[] |
merge(byte[] signature,
byte[] message) |
static byte[] |
prependZeros(int n,
byte[] message) |
static byte[] |
removeZeros(int n,
byte[] message) |
static byte[] |
slice(byte[] buffer,
int start,
int end) |
static byte[] |
zeros(int n) |
private static final int DEFAULT_SIZE
public static byte[] prependZeros(int n, byte[] message)
public static byte[] removeZeros(int n, byte[] message)
public static void checkLength(byte[] data, int size)
public static byte[] zeros(int n)
public static boolean isValid(int status, String message)
public static byte[] slice(byte[] buffer, int start, int end)
public static byte[] merge(byte[] signature, byte[] message)
Copyright © 2015. All Rights Reserved.