crypto

package
v1.0.7-hotfix-9e872c0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2018 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoubleSha256 added in v1.0.3

func DoubleSha256(b []byte) []byte

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.
chainkd
Package chainkd This is an extension to ed25519.Sign that is compatible with NaCl `crypto_sign` function taking 64-byte expanded private key (where the left part is a pre-multiplied scalar and the right part is "prefix" used for generating a nonce).
Package chainkd This is an extension to ed25519.Sign that is compatible with NaCl `crypto_sign` function taking 64-byte expanded private key (where the left part is a pre-multiplied scalar and the right part is "prefix" used for generating a nonce).
import "golang.org/x/crypto/scrypt"
import "golang.org/x/crypto/scrypt"
Package sha3pool is a freelist for SHA3-256 hash objects.
Package sha3pool is a freelist for SHA3-256 hash objects.
crypto/x509 add sm2 support
crypto/x509 add sm2 support

Jump to

Keyboard shortcuts

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