An initially working library.
[ga4php.git] / unittests / createurl.php
index 7d3d4ca..f1240f7 100644 (file)
@@ -8,9 +8,12 @@ echo "creating 10000 keys\n";
 $oldkey = "";
 $key = $ga->createBase32Key();
 
+$hex = $ga->helperb322hex($key);
+
 $url = $ga->createURL("someuser", $key);
 
 system("qrencode -s 6 -o /tmp/file.unittest $url");
 system("eog /tmp/file.unittest");
-unlink("/tmp/file.unittest");
+echo "key in hex: $hex\n";
+//unlink("/tmp/file.unittest");
 ?>