Index

Secure passwords

2cY%b(VJW3gDrxNEgQKU
oDndJJXD3T)zW6ZX)jh2
3a)JCam07juB)Pv5d7id
R?(p)BEIRsu/=mIPLQ1J
YZ3ir=pdRWlJY(=4D!kd
EBvsP69tb5m/1aVe??P7
ukr#?8?uyLuK)R=J(55L
=Rh62kVq?wK2sz8Kt%ZZ
zOZMqK10Yp%M50Rk2(bW
Ymq6nhQ#2N%/l70NSiKw

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