A website and php class to generate easy to remember and SAFE passwords.
It generates password from a word list, concatenating them with random special characters between them and some digits at the end.
To use H.P.G., just:
require( 'hpg.php' );
in your php file, and then call the class as such:
$password = new HPG();
echo $password->generate('words.sqlite', 2, 1);
Where words.sqlite is a database with a table named "words" and a single column named "word".
The two digits are for length (number of words used) and complexity (either less/equal or bigger than 1, randomizes upper/lower/proper case words aswell as each special character.
To generate the sqlite word list, just create an csv list of words and import it to an SQLite editor (I used DB Browser).
The project has a public website and you can fetch your own passwords here.
It's based on XKCD's comic 936 "Password Strength" with some changes to make passwords compliant with most websites security demands.
The word list used is the “English Open Word List” (EOWL), developed by Ken Loge and is almost entirely derived from the “UK Advanced Cryptics Dictionary” (UKACD) Version 1.6, by J Ross Beresford.
UK Advanced Cryptics Dictionary Licensing Information: Copyright © J Ross Beresford 1993-1999. All Rights Reserved. The following restriction is placed on the use of this publication: if the UK Advanced Cryptics Dictionary is used in a software package or redistributed in any form, the copyright notice must be prominently displayed and the text of this document must be included verbatim.
Sound effects generated by JSFXR.