3 require_once("../lib/ga4php.php");
5 $ga = new GoogleAuthenticator("/dev/null");
7 echo "creating 10000 keys\n";
9 $key = $ga->createBase32Key();
11 $hex = $ga->helperb322hex($key);
13 $url = $ga->createURL("someuser", $key);
15 system("qrencode -s 6 -o /tmp/file.unittest $url");
16 system("eog /tmp/file.unittest");
17 echo "key in hex: $hex\n";
18 //unlink("/tmp/file.unittest");