Secure Passphrase Generator

This page shows dynamically generated graphical representation of the pseudo-random number generator in your browser.

Math.random is the default generator built into all browsers that was not designed with cryptography in mind. SJCL is a JavaScript cryptography library that intends to provide as much randomness as possible in local environment.

The rule of thumb is that none of the scatter plots should show any systematic patterns, the points should be pretty much evenly distributed. In histograms the height of the bars on all width should be similar, with no significant or continuous minimums or maximums.

The Math.random pictures are only provided for reference as this generator does not use this method for generating random numbers (we only use SJCL). However, chances are that if you're using relatively new browser, the output from Math.random will be quite similar to the one from SJCL as browser vendors have improved the generators a lot over time!

SJCL plot

n=

Math.random plot

n=

SJCL histogram

n=

Math.random histogram

n=