hash

package
v0.0.0-...-25c81e3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressChecksum

func AddressChecksum(priv []byte, compressed bool) []byte

AddressChecksum estimates a checksum for the address derived from the public key bound the given private key. The checksum is the first 4 bytes of SHA256(SHA256(address))

func DoubleSum

func DoubleSum(data []byte) []byte

DoubleSum calculates SHA256(SHA256(data))

Types

This section is empty.

Jump to

Keyboard shortcuts

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