gotion

package module
v0.0.0-...-08e82b6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MIT Imports: 6 Imported by: 0

README

gotion

Go Utilities

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(password string, config *ArgonConfig) (string, error)

Hash function using Argon2

func Verify

func Verify(password, hash string) (bool, error)

Verify function using Argon2

Types

type ArgonConfig

type ArgonConfig struct {
	// contains filtered or unexported fields
}

ArgonConfig struct

Jump to

Keyboard shortcuts

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