WrappedHdExtendedPrivateKey
WrappedHdExtendedPrivateKey =
object
Defined in: packages/crypto/src/hd.ts:59
Represents a 96-byte scalar (aka LHS or zL) || prefix (aka RHS or zR) || chain_code secret that can be unwrapped
for short-lived use and then re-wrapped.
It should be noted that the chain_code is NOT used for signing. It can, however, be used for key derivation.
If your secret is only used for signing, it is recommended to only store the first 64 bytes in the secret store
and then pad the secret to 96 bytes in the unwrap function
Properties
Section titled “Properties”unwrapHdExtendedPrivateKey()
Section titled “unwrapHdExtendedPrivateKey()”unwrapHdExtendedPrivateKey: () =>
Promise<Uint8Array>
Defined in: packages/crypto/src/hd.ts:63
Unwraps and returns the 96-byte HD scalar (aka LHS or zL) || prefix (aka RHS or zR) || chain_code.
Returns
Section titled “Returns”Promise<Uint8Array>
wrapHdExtendedPrivateKey()
Section titled “wrapHdExtendedPrivateKey()”wrapHdExtendedPrivateKey: () =>
Promise<void>
Defined in: packages/crypto/src/hd.ts:67
Re-wraps the scalar (aka LHS or zL) || prefix (aka RHS or zR) || chain_code after use.
Returns
Section titled “Returns”Promise<void>