crypto

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2017 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressToPubkey

func AddressToPubkey(addr common.Address) (int, []byte, error)

func PubkeyToAddress

func PubkeyToAddress(pubBytes []byte) common.Address

func Ripemd160

func Ripemd160(data []byte) []byte

func Sha256

func Sha256(data ...[]byte) []byte

func Sha256Hash

func Sha256Hash(data ...[]byte) (h common.Hash)

func Sha3

func Sha3(data ...[]byte) []byte

func Sha3Hash

func Sha3Hash(data ...[]byte) common.Hash

Types

This section is empty.

Directories

Path Synopsis
Package ed25519 implements the Ed25519 signature algorithm.
Package ed25519 implements the Ed25519 signature algorithm.
Package sha3pool is a freelist for SHA3-256 hash objects.
Package sha3pool is a freelist for SHA3-256 hash objects.

Jump to

Keyboard shortcuts

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