Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
type File struct {
Password string `json:"password"`
Description string `json:"description"`
CypherText string
Method string
}
File is used to pass pass to the receiver functions to handle encryption and decryption of user passwords.
func (*File) Auth ¶
Auth takes a user password and method from caller and
uses this to either encrypt an insert or decrypt on Ls using the user
provided passphrase.
func (*File) DecryptPwd ¶
DecryptPwd takes a user provided passphrase and decrypts the password(s) from .cache.
Click to show internal directories.
Click to hide internal directories.