hash

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcquireShake128 added in v1.36.0

func AcquireShake128() sha3.ShakeHash

func AcquireShake256 added in v1.36.0

func AcquireShake256() sha3.ShakeHash

func ReleaseShake128 added in v1.36.0

func ReleaseShake128(s sha3.ShakeHash)

func ReleaseShake256 added in v1.36.0

func ReleaseShake256(s sha3.ShakeHash)

Types

type Hash

type Hash struct {
	Data []byte
}

func Crypt

func Crypt(h hash.Hash, d []byte) *Hash

func (*Hash) Bytes

func (h *Hash) Bytes() []byte

func (*Hash) Hex

func (h *Hash) Hex() string

func (*Hash) String

func (h *Hash) String() string

func (*Hash) Sum

func (h *Hash) Sum() []byte

Jump to

Keyboard shortcuts

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