Secure passwords

1vEx8GBgX?S=T/Xnfqp3
7%EsPjK0#N2(m!W21lUt
59!Ul1oGjU3Rp8)jCEox
ZVNKZK?tAlKybnsEP9yA
txd!SULp=3u6IXjTB6C4
vSgJ3DS?6BtrcvI5?xoN
UpW/02v%0!J29eWKx/ZN
yppKAshtZqwV/q!lZfa?
5zAQ?mXQ!XU2=5PLl98s
T%qDgnIv)BafRPRKWOsk

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