public final class HDUtils
extends java.lang.Object
Constructor and Description |
---|
HDUtils() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableList<ChildNumber> |
append(java.util.List<ChildNumber> path,
ChildNumber childNumber)
Append a derivation level to an existing path
|
static com.google.common.collect.ImmutableList<ChildNumber> |
concat(java.util.List<ChildNumber> path,
java.util.List<ChildNumber> path2)
Concatenate two derivation paths
|
static java.lang.String |
formatPath(java.util.List<ChildNumber> path)
Convert to a string path, starting with "M/"
|
static byte[] |
hmacSha512(byte[] key,
byte[] data) |
static java.util.List<ChildNumber> |
parsePath(java.lang.String path)
The path is a human-friendly representation of the deterministic path.
|
public static byte[] hmacSha512(byte[] key, byte[] data)
public static com.google.common.collect.ImmutableList<ChildNumber> append(java.util.List<ChildNumber> path, ChildNumber childNumber)
public static com.google.common.collect.ImmutableList<ChildNumber> concat(java.util.List<ChildNumber> path, java.util.List<ChildNumber> path2)
public static java.lang.String formatPath(java.util.List<ChildNumber> path)
public static java.util.List<ChildNumber> parsePath(@Nonnull java.lang.String path)