Secure passwords

)/w6GAe/0XYdF?CS6M#c
TD/TmY)rmy)D%=rcr#w(
?Vzgs?iS19pU)z#9uEpl
1nF?k)i#55ar3dTqa7XD
UTgV!bceEiCRb6T(3OmN
k0nSpNP#fSgu/GXdarXA
UwClFvZDMAgX%jqGxH4)
98X)oEE%wemnIJ#toqFH
vY6(Fm9Wo%UzK2nE)wOs
uW1bzKvq)zUvKHe2/yQ?

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