Documentation ¶
Index ¶
- Variables
- func Check_password(pass string) (bool, int)
- func Create_DB()
- func Create_site(site_name, user_name string, password []byte)
- func Create_user(user_name string, master_pass, salt []byte)
- func Decrypt(pass, master []byte) []byte
- func Delete_site(site_name, user_name string)
- func Delete_user(user_name string)
- func Encrypt(new_pass string, master []byte) []byte
- func Generate_random_password(length int) string
- func Get_password(site_name, user_name string) []byte
- func Get_user(user_name string) (int, []byte, []byte)
- func Hash_password(pass string, salt []byte) ([]byte, []byte)
- func List_sites(user_name string) []string
- func Update_password(site_name, user_name string, pass []byte)
Constants ¶
This section is empty.
Variables ¶
View Source
var Iter int = 20000
Functions ¶
func Check_password ¶
func Create_site ¶
func Create_user ¶
func Delete_site ¶
func Delete_site(site_name, user_name string)
func Delete_user ¶
func Delete_user(user_name string)
func Get_password ¶
func List_sites ¶
func Update_password ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.