<?php $str_base32 = Dy\Crypt::base32_encode("hello"); var_dump($str_base32); $a = new Dy\Otp($str_base32, 6, 60); var_dump($a->hotp(1)); var_dump($a->totp()); var_dump($a->url("wang 1@test2:test3"));