Index

Secure passwords

JFgzA5Fjbm?g8j)OwWob
OmqY!SP9C3jhh6N0hmcb
6(YV(Za5uz3EEyTJQpQu
6b9Ij81ulmCQKn))9p8?
8AsyOO5Pasg?)vd?mZ/k
hpT)K7V6nBFjs#y6/#tH
5gm8Ir3c!ROxGae0TQ!q
ge?SEQ3%GYNAdg4oLQ1)
o6jm3?UrJ/tC)oM=s0bi
z7u%Sm=dPAdqol!nKZCd

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