Index

Secure passwords

/Gzqw4abfR/I(KS3Lf1#
oa#e2dkqzzEz#Nf8okYN
zjdfMur6)gM6sq!ltpjW
4DhJSdL?#ki1ed7)A1qA
cKe)!zHHcD9H=JJOn3aV
kawG)Hx89xuuIC=mruJ%
z!y)t2zE6XHRphIuKMKB
)qizHSqmYKrCiXERUoKe
L/RS4/e%4O(8()oijR=8
3Lur022ssit8r?fMPaJr

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