argon2

package
v1.199.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Provide(NewAlgo),
)

Module for fx.

Functions

This section is empty.

Types

type Algo

type Algo interface {
	// Generate an encoded msg.
	Generate(msg string) (string, error)

	// Compare encoded with msg.
	Compare(enc, msg string) error
}

Algo for argon2.

func NewAlgo

func NewAlgo() Algo

NewAlgo for argon2.

Jump to

Keyboard shortcuts

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