Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 691 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 691 Bytes

Diceware

A simple Diceware implementation in Clojure

Usage

Generate a passphrase of Diceware words

$ java -jar diceware-0.1.0-standalone.jar <num-words>

Might be Useful

I place the following shell script in $HOME/bin/diceware:

#!/bin/sh
if [[ $# -lt 1 ]]; then
  echo "Generates, prints, and copies a passphrase to the clipboard"
  echo "usage: $(basename $0) <num-words>"
  exit 0
fi

java -jar $(dirname $0)/diceware-0.1.0-SNAPSHOT-standalone.jar $1 | tee /dev/tty | pbcopy

License

Copyright © 2015-2016 Christian Romney

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.