public class Utils extends Object
| 构造器和说明 |
|---|
Utils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
bigIntegerToBytes(BigInteger b,
int numBytes) |
static String |
bytesToHex(byte[] hash) |
static void |
checkArgument(boolean expression,
Object errorMessage) |
static byte[] |
hexToBytes(String s) |
static byte[] |
sha256(byte[] message) |
public static byte[] sha256(byte[] message)
public static String bytesToHex(byte[] hash)
public static byte[] hexToBytes(String s)
public static byte[] bigIntegerToBytes(BigInteger b, int numBytes)
public static void checkArgument(boolean expression,
Object errorMessage)
Copyright © 2022. All rights reserved.