crypto

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Argon2PasswordEquals added in v0.1.1

func Argon2PasswordEquals(input, eq string) bool

Argon2PasswordEquals checks if given password hash equals

func DjangoPasswordEquals

func DjangoPasswordEquals(input, eq string) bool

DjangoPasswordEquals checks if given password hash equals one from django db

func GetArgon2PasswordHash added in v0.1.1

func GetArgon2PasswordHash(password, salt string) string

GetArgon2PasswordHash returns password hash string

func GetDjangoPasswordHash

func GetDjangoPasswordHash(password, salt string, iterations int) string

GetDjangoPasswordHash returns password hash string for django users

Types

This section is empty.

Jump to

Keyboard shortcuts

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