Provides easy-to-use functions to generate secure-random strings in Javascript
Uses window.crypto if available (all modern browsers) or falls back to a custom ISAAC CSPRNG if it’s not available.
<script src="js/ezrandom.min.js"></script>
console.log("Random string: " + randomString(16));
console.log("Random password: " + randomPassword(16));
console.log("Random letters: " + randomAlpha(16));
console.log("Random lowercase: " + randomAlphaLower(16));