crypto

package
v0.0.0-...-d447769 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base58CheckDecode

func Base58CheckDecode(s string) (ver uint8, b []byte, err error)

func Base58CheckEncode

func Base58CheckEncode(ver uint8, b []byte) (s string)

func Base58Decode

func Base58Decode(s string) (b []byte, err error)

func Base58Encode

func Base58Encode(b []byte) (s string)

TODO: Need to refactor all of the hashing below to use the functions defined above

func Checksum

func Checksum(data []byte) ([]byte, error)

func Hash160

func Hash160(data []byte) ([]byte, error)

func HashDoubleSha256

func HashDoubleSha256(data []byte) ([]byte, error)

func HashRipeMD160

func HashRipeMD160(data []byte) ([]byte, error)

func HashSha256

func HashSha256(data []byte) ([]byte, error)

func WIFEncode

func WIFEncode(key []byte) (s string)

Types

This section is empty.

Directories

Path Synopsis
rfc6979
Package rfc6979 is an implementation of RFC 6979's deterministic DSA.
Package rfc6979 is an implementation of RFC 6979's deterministic DSA.

Jump to

Keyboard shortcuts

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