Skip to content
Secure random password generation library in go. Inspired by
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


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 (

// 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.