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