argon2pw

package module
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2018 License: GPL-3.0 Imports: 8 Imported by: 1

README

argon2pw

Argon2 password hashing library with constant time hash comparison

Documentation

Overview

}

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareHashWithPassword

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

CompareHashWithPassword compares an argon2 hash against plaintext password

func GenerateSaltedHash

func GenerateSaltedHash(password string) (string, error)

GenerateSaltedHash takes a plaintext password and generates an argon2 hash

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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