Index

Secure passwords

Ec2NP/0oxBw1vtknnZG4
M3uyV/fpCLK?6Ck?W2tR
VVB)rcOgzf2#m3)9)zuw
GsD8uyyhy11rYZ!10tQx
7(fiE!CWZSqdv2/ZRmXd
puSGt=9)IsGHRH/X)t0g
3=/CDdDaZSmAdx)yQBEn
LpXDK7Dbk)LxKpLL)ruI
9mG24TmUK0Xb?F19l(kj
cP%ltC)Kwl9!EiZD)jlv

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