Find file History
Pull request Compare This branch is 78 commits ahead, 2 commits behind Randati:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
cjdb32.js
genkeys.js
genpass.js
keys.js
passgen.js
passwd.js

README.md

This script generates the primary information used by cjdns:

  1. A privateKey
  2. A publicKey
  3. An ipv6

The Keys come in two formats, Uint8Arrays and a more readable format (hex and b32).

This script requires tweetnacl.

Install it

sudo npm install tweetnacl

Run it

node genkeys.js