Documentation ¶
Overview ¶
https://gist.github.com/stupidbodo/ thanks for this lib
Index ¶
- func ConnectDB() *sql.DB
- func Decrypt(key []byte, text string) (string, error)
- func Encrypt(key []byte, text string) (string, error)
- func Hash(text string) string
- func NewKey(badge string, password string) string
- func NewUser(db *sql.DB, u User)
- func NewVault(db *sql.DB, username string, key string, account string, password string)
- func Pad(src []byte) []byte
- func Try(e error)
- func Unpad(src []byte) ([]byte, error)
- type User
- type Vault
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.