Function hdPrivateKeyToIdentifier
- hdPrivateKeyToIdentifier(hdPrivateKey: string, crypto?: {
sha256: {
hash: ((input: Uint8Array) => Uint8Array);
};
}): string | Uint8Array
-
Parameters
-
hdPrivateKey: string
-
crypto: {
sha256: {
hash: ((input: Uint8Array) => Uint8Array);
};
} = ...
-
sha256: {
hash: ((input: Uint8Array) => Uint8Array);
}
-
hash: ((input: Uint8Array) => Uint8Array)
-
- (input: Uint8Array): Uint8Array
-
Returns Uint8Array
Returns string | Uint8Array
Decode the provided HD private key and compute its identifier. Error messages are returned as a string.