Archive for the ‘c/c++’ tag
spass-2.0 – Secure Password Generator
This is a complete rewrite of my secure password generator. The new version uses my a true random number generator (and here).
The major change was using the new true random number generator in order to ensure strong passwords. Less significant changes include an easy way to specify password’s strips, and some calling convention changes.
Usage examples:
$ ./spass E5pT35Fg $ ./spass -l 14 R$tfOm4g_yRQ2J $ ./spass -s 0-9a-f -l 32 8b5f14a1eeaabe58c2878ab5416a9ebb
Download the tarball spass-2.0.tar.bz2. The program depends on Boost‘s program_options (it was tested against version 1.37 and 1.42 and should work with other versions too).
Statistical Tests for My Audio Based Random Number Generator
In May I’ve written about a way to generate random number from audio noise. Basically it went like this:
- Get audio sample from the microphone.
- Push the least significant bit to a buffer.
- Repeat steps 1-2 until the buffer is full (buffer size == block size for the hash function).
- Apply the hash function on the buffer.
- Get random bits from the digest.
In order to continue developing this random number generator (RNG), I’ve written a C++ class that simplifies working with it.
Read the rest of this entry »