Documentation ¶
Overview ¶
Copyright 2013-present wemeetagain https://github.com/wemeetagain/go-hdwallet Copyright 2019-present Varunram Ganesh
Index ¶
- Variables
- func AddPrivKeys(k1, k2 []byte) []byte
- func AddPubKeys(k1, k2 []byte) []byte
- func BytesToNum(byteString []byte) *big.Int
- func Compress(x, y *big.Int) []byte
- func DoubleSha256(data []byte) []byte
- func Expand(key []byte) (*big.Int, *big.Int)
- func Hash160(data []byte) []byte
- func NewPrivateKey() (*big.Int, error)
- func PrivToPub(key []byte) []byte
- func PubkeyPointsFromPrivkey(privkey *big.Int) (*big.Int, *big.Int)
- func Sha256(inputs ...[]byte) []byte
- func Sha256File(fileName string) ([]byte, error)
- type Elgamal
- type Point
Constants ¶
This section is empty.
Variables ¶
View Source
var Curve *btcec.KoblitzCurve = btcec.S256()
Functions ¶
func AddPrivKeys ¶
func AddPubKeys ¶
func BytesToNum ¶
func DoubleSha256 ¶
func Expand ¶
2.3.4 of SEC1 - http://www.secg.org/index.php?action=secg,docs_secg
func NewPrivateKey ¶
func Sha256File ¶
Types ¶
type Elgamal ¶
type Point ¶
func PointFromPrivkey ¶
func ScalarBaseMult ¶
func ScalarMult ¶
func (*Point) ScalarMult ¶
Click to show internal directories.
Click to hide internal directories.