hashutils

package module
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 3 Imported by: 0

README

hashutils

Go Reference

Some utilities for working with hashes in go.

Contains implementations of the PHC string format (PHC) and Modular Crypt Format (MCF) specs.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrElementCount = fmt.Errorf("%w, wrong element count", ErrParseFail)
View Source
var ErrFileIsDir = fmt.Errorf("%w, file is a directory", fs.ErrInvalid)
View Source
var ErrFileNotRegular = fmt.Errorf("%w, file is not regular", fs.ErrInvalid)
View Source
var ErrInvalidData = errors.New("invalid data")
View Source
var ErrMissingPrefix = fmt.Errorf("%w, missing $ prefix", ErrParseFail)
View Source
var ErrParseFail = errors.New("failed parsing")
View Source
var ErrUnknownEncoding = errors.New("unknown encoding")

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
b64
Package b64 does standard Base64 (RFC 4648, sect 4) encoding and decoding, except that padding (=) signs are omitted, and whitespaces are not allowed.
Package b64 does standard Base64 (RFC 4648, sect 4) encoding and decoding, except that padding (=) signs are omitted, and whitespaces are not allowed.

Jump to

Keyboard shortcuts

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