Index

Secure passwords

Y4y/SnOKam)MnV7FCNAO
z4O4UelSZ4R1L7BtwC7p
gdTS/Otm9eKYpz8y!D#E
q4Y(oWB(0kIxk)nlI??F
V=FkAird3hrNUk4!4bz%
ceOxaWuo=EwjRj4NecTz
L2UNaDJuRK)AIkqgNz0q
)Z=v#?f%J5yPIFyWA?Ry
eXcPHnxj#rV?D0Fhcf2n
Vu?u(3g?EW(PUFY#IfK1

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 © 2019 Niko Rosvall