Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

github.com/btoll/diceware-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/btoll/diceware-go


Version published
Created
Source

Diceware

What is Diceware?

From the official site:

Diceware™ is a method for picking passphrases that uses dice to select words at random from a special list called the Diceware Word List.

This project is now using the new word list from the EFF, which contain many improvements over the original Diceware word list.

Examples

$ diceware
regulatorvotinggauntlettreadingwidenuntried
$ diceware -delimiter " "
cozily troubling flask trapezoid waving throwback
$ diceware -delimiter "-"
ablaze-marmalade-axis-appetite-skyward-enigmatic
$ diceware -words 10 -delimiter "-"
that-giddily-repressed-setback-musty-predict-recede-bagging-pointer-uncurled

Installation

go install github.com/btoll/diceware@latest

CLI Usage

Option | Description
------------ | -------------
-words | The length of the passphrase (defaults to six words).
-delimiter | The character that joins the words.
-h, --help | Display help.

Scripting Usage

Command | Description
------------ | -------------
generate(n) | Generates a passphrase of word length `n` using the Diceware method.

Ports

License

GPLv3

Author

Benjamin Toll

FAQs

Package last updated on 03 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc