encryption

package
v0.0.0-...-b567ec7 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SHA256ByteLength = 32
)

Variables

View Source
var (
	ErrInvalidSHA256ByteLength = errors.New("Invalid sha256 byte length!")
)

Functions

func SHA256HexStringToBytes

func SHA256HexStringToBytes(hexString string) (*[SHA256ByteLength]byte, error)

Types

type SHA256HexString

type SHA256HexString = string

func RandomSHA256HexString

func RandomSHA256HexString() (*SHA256HexString, error)

func ZeroSHA256HexString

func ZeroSHA256HexString() SHA256HexString

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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