Help us shape the future of Go! Take the 2026 Go Developer Survey

hash

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromRLP

func FromRLP(x interface{}) (h common.Hash)

FromRLP hashes the RLP representation of the given object.

func FromRLPNew256 added in v1.3.3

func FromRLPNew256(x interface{}) (h common.Hash)

FromRLPNew256 hashes the RLP representation of the given object using New256

func Keccak256

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

Keccak256 calculates and returns the Keccak256 hash of the input data.

func Keccak256Hash

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

Keccak256Hash calculates and returns the Keccak256 hash of the input data, converting it to an internal Hash data structure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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