pass_generator

package
v0.0.0-...-f1578ef Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2014 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Iter int = 20000

Functions

func Check_password

func Check_password(pass string) (bool, int)

func Create_DB

func Create_DB()

func Create_site

func Create_site(site_name, user_name string, password []byte)

func Create_user

func Create_user(user_name string, master_pass, salt []byte)

func Decrypt

func Decrypt(pass, master []byte) []byte

func Delete_site

func Delete_site(site_name, user_name string)

func Delete_user

func Delete_user(user_name string)

func Encrypt

func Encrypt(new_pass string, master []byte) []byte

func Generate_random_password

func Generate_random_password(length int) string

func Get_password

func Get_password(site_name, user_name string) []byte

func Get_user

func Get_user(user_name string) (int, []byte, []byte)

func Hash_password

func Hash_password(pass string, salt []byte) ([]byte, []byte)

func List_sites

func List_sites(user_name string) []string

func Update_password

func Update_password(site_name, user_name string, pass []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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