SDA/passgen — pull request #1 by chilts (2011-11-30 10:44:05+00:00)
Title: Simplify choosing a letter (and also about twice as fast)

Hiya,

Just thought I'd simplify the choosing of the letter ... but mainly because I thought it might be faster too. I know this won't matter in general but I know I'll be using it a lot so it all helps. This is about twice as fast as the substring method (see the test program in the gist below).

* https://gist.github.com/1408627

Many thanks for the passgen module!

Cheers,
Andy