Index

Secure passwords

bWbDrqGTuUE)uD(l57A?
ZT4TD3bPRf8PZsBhTKFJ
YFx3YZ?D95ra(DI?bH(Q
bAdxJocE1?yu80rBEf=Q
4z(l8EGBrOZ=tPrHwIc!
OI!lu3Nl=/?b?Ck?a(aP
FfcDefy1Wtt%ZdZI(YHz
pR0F?dT)l/O)j20(L%4E
qjg7dhZq0!zuHsuIrMeq
CNP%)mNEYe6EptFjjjZD

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