Secure passwords

PobggsR3QIr9EC1L(VH?
=9NVfloUyQoAiqhj(RUc
5=iKGQ)?p/Qo!)MvcooI
Rw63U4AU9282T=Wm2HZG
ALgRa)j=E7db6Y1sSVHy
Za8krud7lQ5ysNxPzzd(
#D3ZUXioBIC)licu!!)V
hcM)PWFORr2P4dPT(?Fu
TqlY7W5t9NVqwrr4%4Z%
HZA(czK%7A3L?t%co=KC

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 © 2018 Niko Rosvall