Function compilerOperationHelperDeriveHdPrivateNode
compiler Operation Helper Derive Hd Private Node( __namedParameters: { addressIndex: number ; configuration: { ripemd160: { hash: ( ( input: Uint8Array ) => Uint8Array ) ; } ; secp256k1: { addTweakPrivateKey: ( ( privateKey: Uint8Array , tweakValue: Uint8Array ) => string | Uint8Array ) ; addTweakPublicKeyCompressed: ( ( publicKey: Uint8Array , tweakValue: Uint8Array ) => string | Uint8Array ) ; derivePublicKeyCompressed: ( ( privateKey: Uint8Array ) => string | Uint8Array ) ; signMessageHashDER: ( ( privateKey: Uint8Array , messageHash: Uint8Array ) => string | Uint8Array ) ; signMessageHashSchnorr: ( ( privateKey: Uint8Array , messageHash: Uint8Array ) => string | Uint8Array ) ; } ; sha256: { hash: ( ( input: Uint8Array ) => Uint8Array ) ; } ; sha512: { hash: ( ( input: Uint8Array ) => Uint8Array ) ; } ; } ; entityHdPrivateKey: string ; entityId: string ; hdKey: AuthenticationTemplateHdKey ; identifier: string ; } ) : CompilerOperationError | CompilerOperationSuccess
Parameters
__namedParameters: { addressIndex: number ; configuration: { ripemd160: { hash: ( ( input: Uint8Array ) => Uint8Array ) ; } ; secp256k1: { addTweakPrivateKey: ( ( privateKey: Uint8Array , tweakValue: Uint8Array ) => string | Uint8Array ) ; addTweakPublicKeyCompressed: ( ( publicKey: Uint8Array , tweakValue: Uint8Array ) => string | Uint8Array ) ; derivePublicKeyCompressed: ( ( privateKey: Uint8Array ) => string | Uint8Array ) ; signMessageHashDER: ( ( privateKey: Uint8Array , messageHash: Uint8Array ) => string | Uint8Array ) ; signMessageHashSchnorr: ( ( privateKey: Uint8Array , messageHash: Uint8Array ) => string | Uint8Array ) ; } ; sha256: { hash: ( ( input: Uint8Array ) => Uint8Array ) ; } ; sha512: { hash: ( ( input: Uint8Array ) => Uint8Array ) ; } ; } ; entityHdPrivateKey: string ; entityId: string ; hdKey: AuthenticationTemplateHdKey ; identifier: string ; }
address Index: number
configuration: { ripemd160: { hash: ( ( input: Uint8Array ) => Uint8Array ) ; } ; secp256k1: { addTweakPrivateKey: ( ( privateKey: Uint8Array , tweakValue: Uint8Array ) => string | Uint8Array ) ; addTweakPublicKeyCompressed: ( ( publicKey: Uint8Array , tweakValue: Uint8Array ) => string | Uint8Array ) ; derivePublicKeyCompressed: ( ( privateKey: Uint8Array ) => string | Uint8Array ) ; signMessageHashDER: ( ( privateKey: Uint8Array , messageHash: Uint8Array ) => string | Uint8Array ) ; signMessageHashSchnorr: ( ( privateKey: Uint8Array , messageHash: Uint8Array ) => string | Uint8Array ) ; } ; sha256: { hash: ( ( input: Uint8Array ) => Uint8Array ) ; } ; sha512: { hash: ( ( input: Uint8Array ) => Uint8Array ) ; } ; }
ripemd160: { hash: ( ( input: Uint8Array ) => Uint8Array ) ; }
hash: ( ( input: Uint8Array ) => Uint8Array )
( input: Uint8Array ) : Uint8Array
Returns Uint8Array
secp256k1: { addTweakPrivateKey: ( ( privateKey: Uint8Array , tweakValue: Uint8Array ) => string | Uint8Array ) ; addTweakPublicKeyCompressed: ( ( publicKey: Uint8Array , tweakValue: Uint8Array ) => string | Uint8Array ) ; derivePublicKeyCompressed: ( ( privateKey: Uint8Array ) => string | Uint8Array ) ; signMessageHashDER: ( ( privateKey: Uint8Array , messageHash: Uint8Array ) => string | Uint8Array ) ; signMessageHashSchnorr: ( ( privateKey: Uint8Array , messageHash: Uint8Array ) => string | Uint8Array ) ; }
add Tweak Private Key: ( ( privateKey: Uint8Array , tweakValue: Uint8Array ) => string | Uint8Array )
( privateKey: Uint8Array , tweakValue: Uint8Array ) : string | Uint8Array
Parameters
privateKey: Uint8Array
tweakValue: Uint8Array
Returns string | Uint8Array
add Tweak Public Key Compressed: ( ( publicKey: Uint8Array , tweakValue: Uint8Array ) => string | Uint8Array )
( publicKey: Uint8Array , tweakValue: Uint8Array ) : string | Uint8Array
Parameters
publicKey: Uint8Array
tweakValue: Uint8Array
Returns string | Uint8Array
derive Public Key Compressed: ( ( privateKey: Uint8Array ) => string | Uint8Array )
( privateKey: Uint8Array ) : string | Uint8Array
Returns string | Uint8Array
sign Message HashDER: ( ( privateKey: Uint8Array , messageHash: Uint8Array ) => string | Uint8Array )
( privateKey: Uint8Array , messageHash: Uint8Array ) : string | Uint8Array
Parameters
privateKey: Uint8Array
messageHash: Uint8Array
Returns string | Uint8Array
sign Message Hash Schnorr: ( ( privateKey: Uint8Array , messageHash: Uint8Array ) => string | Uint8Array )
( privateKey: Uint8Array , messageHash: Uint8Array ) : string | Uint8Array
Parameters
privateKey: Uint8Array
messageHash: Uint8Array
Returns string | Uint8Array
sha256: { hash: ( ( input: Uint8Array ) => Uint8Array ) ; }
hash: ( ( input: Uint8Array ) => Uint8Array )
( input: Uint8Array ) : Uint8Array
Returns Uint8Array
sha512: { hash: ( ( input: Uint8Array ) => Uint8Array ) ; }
hash: ( ( input: Uint8Array ) => Uint8Array )
( input: Uint8Array ) : Uint8Array
Returns Uint8Array
entity Hd Private Key: string
entity Id: string
identifier: string
Returns the ripemd160 hash of the provided input.
To incrementally construct a ripemd160 hash (e.g. for streaming), use
init
,update
, andfinal
.