Secure passwords

Gs)Ddf96IqQgm?lTscrC
qyu)TJ)wKUXbhtu6nps3
ihrybK9!lN=/gFT)mWB9
wi0v)W6ksAMhW3SgCUZP
V5UDda=6BmbUSK?k?5fD
An7X7l3fUbDwa?djuPVT
Lm?aixQ2ng7ykBU5zO/I
mCVudp%w3aJBguT/U)8A
0)1K?Zip?NojGGrNhoeg
Bk!qzhgOY/iMyXjDLMq?

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