Documentation ¶
Index ¶
Constants ¶
View Source
const (
PrivateKeyBytesLen = 32
)
Variables ¶
This section is empty.
Functions ¶
func DoubleSha256Bytes ¶
func DoubleSha256Hash ¶
func Sha256Bytes ¶
func Sha256Hash ¶
Types ¶
type PrivateKey ¶
func PrivateKeyFromBytes ¶
func PrivateKeyFromBytes(privateKeyBytes []byte) *PrivateKey
func (*PrivateKey) PubKey ¶
func (privateKey *PrivateKey) PubKey() *PublicKey
func (*PrivateKey) Serialize ¶
func (privateKey *PrivateKey) Serialize() []byte
type PublicKey ¶
func ParsePubKey ¶
func (*PublicKey) SerializeCompressed ¶
func (*PublicKey) SerializeUncompressed ¶
func (*PublicKey) ToSecp256k ¶
type Signature ¶
type Signature secp256k1.EcdsaSignature
func ParseDERSignature ¶
func ParseSignature ¶
Click to show internal directories.
Click to hide internal directories.