public class DriverUtils extends Object
| Constructor | Description |
|---|---|
DriverUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static String |
getHex(byte[] data) |
Gets the hex.
|
static String |
getSha3HashHex(byte[] input) |
|
static byte[] |
getSha3HashRaw(byte[] input) |
|
static com.google.gson.JsonObject |
makeSelfSortingGson(com.google.gson.JsonObject input) |
Make self sorting.
|
static com.google.gson.JsonObject |
makeSelfSortingGson(String input) |
To conform with BigchainDB serialization
|
public static String getHex(byte[] data)
data - the datapublic static com.google.gson.JsonObject makeSelfSortingGson(String input)
input - the json string to sort the properties forpublic static com.google.gson.JsonObject makeSelfSortingGson(com.google.gson.JsonObject input)
input - the inputpublic static byte[] getSha3HashRaw(byte[] input)
public static String getSha3HashHex(byte[] input)
Copyright © 2018. All rights reserved.