-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdoc.go
More file actions
22 lines (16 loc) · 713 Bytes
/
Copy pathdoc.go
File metadata and controls
22 lines (16 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
Package masterpassword implements the MasterPassword algorithm (http://masterpasswordapp.com/algorithm.html).
Usage:
Create a session from the user name and the password using NewSession.
Then, instantiate a site with NewSite or NewSiteWithCounter.
Finally, you can generate the password using the Password method on the Site.
Password requires you to specify the type of password using a PasswordType.
*PasswordType implements the Value interface from the flags package, making it easy to use it
as a command line parameter:
import "flag"
var pwdType = PasswordTypeBasic
func main() {
flag.Var(&pwdType, "type", "password type")
}
*/
package masterpassword