crypto

package
v0.0.0-...-9eea1c9 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoubleSha256

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

func Sm3

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

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.
sm2
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