Register for access to the Secret Area

Username:
Pin:
Existing Google code (if you want to reuse it):
get_random_bytes(10); $secret = $t_hasher->encode32($randbytes, 10); } else { $secret = $_POST["oldsecret"]; } $converted = base_base2base($secret, 32, 16, 0); $ufh = fopen(USERSFILE, 'a') or die("Cannot open file ".USERSFILE); fprintf($ufh, "HOTP/T30 %s + %s\n", $user, $converted); fclose($ufh); $pinhash = $t_hasher->HashPassword($pin); $pfh = fopen(PINFILE, 'a') or die("Cannot open file ".PINFILE); fprintf($pfh, "%s:%s\n", $user, $pinhash); fclose($pinfile); ?> Secret Area registration

Secret Area registration

Enter this code into your phone:
Or scan the QR Code on your Android phone with Google Authenticator
That's it!