Index

Secure passwords

/o9FLy6rZ3Hz20hgW5W)
Z5qq2DZGvYpL09T%/Qy?
)j4gb)8IN%69??=B8(Dj
x)?pHl=3CDth=m#ofNVE
SK7=E6IJWf250df976Y!
5vmsbe7wVafN)k?xuW)2
jfSH9NJQThE#YHdGir2U
9TxbHO)#yb10x5Yj)plD
/xnyGwP?eH!q1bQTMspl
O#Sh8)fcHGlIupt4endu

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