Index

Secure passwords

ij)k)PgKd!LJxYW?rWLb
5GdJEq2gh!hcwvnz#P=Z
JYbd5A8)RP9nDHdB6AeW
N49ILV9hnWS%jNfRxW3s
8QDS#uwI6FvZLCIOEwDv
pFUpRA)E9X#a/CHd4rTF
?UYFmd?ZfUZq/2rB!pR9
3ZY)VM3Ojft#kCeG5fm5
tS)XyqhEa(ffHmPVPg/f
?/(Kg2tU/DvHU40F?lTp

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