This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "test", | |
"description": "TOTP test", | |
"require": { | |
"spomky-labs/otphp": "~4.0" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once("vendor/autoload.php"); | |
use Base64Url\Base64Url; | |
use MIME\Base64URLSafe; | |
$test = "Hello world"; | |
$time_start = microtime(true); |
NewerOlder