Skip to content

tristankenney/xkcdpassword

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

xkcdpassword

A password generator based on http://xkcd.com/936/

Example

//generate a password with spaces for readibility
var password = xkcdpassword.generate();

//change min_word_length / number_of_words
var password = xkcdpassword.generate({min_word_length: 8, number_of_words: 5});

MIT license

This project is licensed under an MIT license.
http://www.opensource.org/licenses/mit-license.php

Copyright © 2012 tristankenney [email protected]