GitHub - micromaomao/go-ecbpass: A tool to generate pseudorandom, deterministic passwords.

1 min read Original article ↗

go-ecbpass is a tool to generate pseudorandom password that can safely be used on various websites. The generated password is deterministic and is based on the user's master password and the domain of the URL provided.

sitekey := scrypt.Key(password, domain, 262144 /* 2^18 */, 8, 3, 12)
sitepassword := encode(sitekey)

where encode is some simple encoding function that turn []byte to ASCII string.