Secure passwords

xz%/iYn1UFIj)zPr3)LW
Cw!e78wk7#dnDNMUxLjT
hb5Z%pNk(g7n0tmdlnOT
cZJF(et444WDE!Dhs##Z
3wiMsbF=nafgNjwLUN#p
Yvz8V%1LtFSis5n(n4DE
N79G?O2J)wN?JJKAdy9e
(t0kQBQNq=NKB56=(Prh
)1N0#oHwucONYO2lzHip
j!VSfW#BjR?f?PpuFs?m

This page is created by Niko Rosvall. Passwords are generated with PHP by using cryptographically secure pseudo-random integers (random_int). There's nothing special in the code, here it is (public domain):

               function random_password($length) {

                $keys = '0123456789?)(/%#!?)=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
                $keys_max = strlen($keys) - 1;
                $pass = '';
                
                for ($index = 0; $index < $length; $index++) {
                    $pass .= $keys[random_int(0, $keys_max)];
                }
                
                return $pass;
            }
            

If you're really interested in hacking this page, it's also available on Github.


Copyright © 2018 Niko Rosvall