bip32

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeriveScalar

func DeriveScalar(public *curve.Secp256k1Point, chaining []byte, i uint32) (*curve.Secp256k1Scalar, []byte, error)

DeriveScalar uses a public point, chaining value, and index, to derive a scalar and chaining value.

This scalar should be added to the secret key.

If an error is returned, this means that this index will not be useable, and another index should be used instead.

This function will panic if an index for a hardened key is used.

See: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL