Skip to content
Secure random password generation library in go. Inspired by https://xkcd.com/936/
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static
README.md
pass.go
pass_test.go

README.md

XKCDPass

xkcdpass generates secure random passwords that are (relatively) easy to memorize.

It uses a dictionary provided specifically for passphrase generation by the EFF and has an option for checking strength of the generated passwords using the zxcvbn library.

Basic usage

import (
  "github.com/happeens/xkcdpass"
)

// Create a 4-word password with strength score 4
password := xkcdpass.GenerateDefault()

For more detailed usage options, check the docs.

You can’t perform that action at this time.