Skip to content

Hendrick/diceware

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diceware

A simple Diceware implementation in Clojure.

Requirements

Build

  1. lein uberjar

Usage

Generate a passphrase of Diceware words

$ java -jar target/uberjar/diceware-0.1.0-SNAPSHOT/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 Christian Romney Copyright © 2016 Hendrick Automotive Group

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

About

A simple command-line Diceware implementation in Clojure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%