<!doctype html>

<title>Passwords</title>

<style>
    #passwords { font-family: monospace }
</style>

<div id="passwords"></div>

<script>
    ;(function() {
        var pickOne = function(array) {
            return array[Math.round(Math.random() * (array.length - 1))]
        }
        
        var password = new function() {
            var chars = 'abcdefghijklmnopqrstuvwxyz0123456789'
            chars += chars.toUpperCase()
            chars += '0123456789';

            this.create = function() {
                var password = ''
                for (var i = 16; i; i--) password += pickOne(chars)
                return password
            }
        }

        var passwords = []
        for (var i = 500; i; i--) passwords.push(password.create())
        document.querySelector('#passwords').textContent = passwords.join(' ')
    })()
</script>

<!doctype html>

<title>Passwords</title>

<style>
    body { margin: 0; padding: 1px; font-size: 16px }
    .passwords { font-family: monospace }
    .passwords div { color: #eee; background: #fff; float: left; margin: 1px;
        padding: 3px }
    .passwords div::selection { color: #fff; background: #eee }
</style>

<div class="passwords"></div>

<script>
    ;(function() {
        var pickOne = function(array) {
            return array[Math.round(Math.random() * (array.length - 1))]
        }
        
        var password = new function() {
            var chars = 'abcdefghijklmnopqrstuvwxyz0123456789'
            chars += chars.toUpperCase()
            chars += '0123456789';

            this.create = function() {
                var password = ''
                for (var i = 16; i; i--) password += pickOne(chars)
                return password
            }
        }
        
        var passwordsEl = document.querySelector('.passwords');
        for (var i = 0; i < 500; i++) {
            passwordsEl.appendChild((function() {
                var el = document.createElement('div');
                el.textContent = ' ' + password.create() + ' ';
                return el;
            })());
        }
    })()
</script>

Make passwords harder to read
Make passwords harder to read
