hashing

package
v1.5.15 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CSHA256Size    = sha256.Size
	CSHA256KeyType = "go-peer/sha256"
)
View Source
const (
	CHMACSHA256KeyType = "go-peer/hmac-sha256"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IHasher

type IHasher interface {
	types.IConverter
	types.IParameter
}

func NewHMACSHA256Hasher

func NewHMACSHA256Hasher(pKey []byte, pData []byte) IHasher

func NewSHA256Hasher

func NewSHA256Hasher(pData []byte) IHasher

Jump to

Keyboard shortcuts

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