algs

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const FIPS_MIN = PBKDF2_V1
View Source
const MODERN_MIN = ARGON2ID_V1

Variables

This section is empty.

Functions

This section is empty.

Types

type AlgID

type AlgID uint16
const (
	RESERVED AlgID = iota

	PBKDF2_V1
	ARGON2ID_V1
)

type Algorithm

type Algorithm interface {
	Algorithm() AlgID
	Version() uint16
	Name() string
	Hash(password []byte) []byte
	Verify(hash []byte, password []byte) bool
}

Jump to

Keyboard shortcuts

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