hashing

package
v0.0.0-...-91c5940 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2017 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Salt_size = 16

Variables

This section is empty.

Functions

func Compare_hash_and_password

func Compare_hash_and_password(hashed_password_base64 string, password string) bool

func Generate_hash_from_password

func Generate_hash_from_password(password string) (hashed_password_base64 string, err error)

Generate_hash_from_password generates a simple SHA1 hash, from random salt and password.

Types

This section is empty.

Jump to

Keyboard shortcuts

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