All Projects → sethvargo → Go Diceware

sethvargo / Go Diceware

Licence: mit
Golang library for generating passphrases via the diceware algorithm.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Go Diceware

lockd
Generate strong passwords and save them in Keychain. Made with SwiftUI
Stars: ✭ 38 (-44.93%)
Mutual labels:  password-generator, password
Pgen
Command-line passphrase generator
Stars: ✭ 68 (-1.45%)
Mutual labels:  password, password-generator
diceware
Improved diceware passphrases
Stars: ✭ 16 (-76.81%)
Mutual labels:  password-generator, password
LAPSforMac
Local Administrator Password Solution for Mac
Stars: ✭ 29 (-57.97%)
Mutual labels:  password-generator, password
Passmaker
可以自定义规则的密码字典生成器,支持图形界面 A password-generator that base on the rules that you specified
Stars: ✭ 363 (+426.09%)
Mutual labels:  password, password-generator
PasswordX
Offline password manager for iOS/macOS
Stars: ✭ 26 (-62.32%)
Mutual labels:  password-generator, password
PasswordGenerator
A simple C# helper class for ASP.NET Core to generate a random password with custom strength requirements: min length, uppercase, lowercase, digits & more
Stars: ✭ 27 (-60.87%)
Mutual labels:  password-generator, password
password-list
Password lists with top passwords to optimize bruteforce attacks
Stars: ✭ 174 (+152.17%)
Mutual labels:  password-generator, password
Go Password
A Golang library for generating high-entropy random passwords similar to 1Password or LastPass.
Stars: ✭ 317 (+359.42%)
Mutual labels:  password, password-generator
Xbruteforcer
X Brute Forcer Tool 🔓 WordPress , Joomla , DruPal , OpenCart , Magento
Stars: ✭ 261 (+278.26%)
Mutual labels:  password, password-generator
FlowerPassword
🌸花密,不一样的密码管理器
Stars: ✭ 37 (-46.38%)
Mutual labels:  password-generator, password
Ttpassgen
密码生成 flexible and scriptable password dictionary generator which can support brute-force、combination、complex rule mode etc...
Stars: ✭ 68 (-1.45%)
Mutual labels:  password, password-generator
gpgpwd
Moved to GitLab
Stars: ✭ 22 (-68.12%)
Mutual labels:  password-generator, password
OormiPass
Free open source cross platform password manager
Stars: ✭ 50 (-27.54%)
Mutual labels:  password-generator, password
webpassgen
Simple web-based password generator
Stars: ✭ 111 (+60.87%)
Mutual labels:  password-generator, password
genpw
Password Generator
Stars: ✭ 32 (-53.62%)
Mutual labels:  password-generator, password
moac
Generate passwords and analyze their strength given physical limits to computation
Stars: ✭ 16 (-76.81%)
Mutual labels:  password-generator, password
mopass
A OpenSource Clientless & Serverless Password Manager
Stars: ✭ 40 (-42.03%)
Mutual labels:  password-generator, password
MasterPassX
A deterministic stateless password generator.
Stars: ✭ 21 (-69.57%)
Mutual labels:  password-generator, password
Strongbox
A KeePass/Password Safe Client for iOS and OS X
Stars: ✭ 586 (+749.28%)
Mutual labels:  password, password-generator

Golang Diceware Generator

GoDoc GitHub Actions

This library implements the Diceware algorithm in pure Golang. The algorithm is most-commonly used when generating human-readable passwords. You may be familiar with the XKCD comic.

The list of words are generated from the EFF's "long" list. However, the API's are abstracted so you can roll die and then use your own word list as-needed.

It uses crypto/rand for rolling die for added randomness.

Sample example words this library may choose:

squirt catchy anatomy storm
patchy replica scholar alkalize
operative shrank lying uncorrupt
confusion studio abstain subdivide chewy ouch password tropical pentagon

Installation

$ go get -u github.com/sethvargo/go-diceware/diceware/...

Usage

package main

import (
  "log"
  "strings"

  "github.com/sethvargo/go-diceware/diceware"
)

func main() {
  // Generate 6 words using the diceware algorithm.
  list, err := diceware.Generate(6)
  if err != nil  {
    log.Fatal(err)
  }
  log.Printf(strings.Join(list, "-"))
}

See the GoDoc for more information.

CLI

As a CLI:

$ GO111MODULE=off go get github.com/sethvargo/go-diceware/cmd/diceware
$ diceware -h

License

This code is licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].