ergoArgon2

package module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 8 Imported by: 0

README

ergo-argon2

CodeQL

Simple wrapper around the standard implementation of Argon2id to make hashing and verifying passwords easier.

Motivation

According to OWASP, IETF, et al. Argon2 is currently (2023-04-14) the recommended way to hash and store passwords [1 2]. There is a standard implementation of Argon2 in the crypto package. But the functions exported from that package are (in my opinion) too low level for general usage, the bcrypt implementation in the same package has a much better interface.

This package aims to act as a simpler interface for using Argon2.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashPassword

func HashPassword(password string) string

func VerifyPassword

func VerifyPassword(password string, hash string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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