How to verify form TOTP Number and b32encode by c++

hello all
i need some help from good people
i want make little code to Verify TOTP (Time-based One-time Password Algorithm) Number i search on this thing by c++ in all forum and github but i don't found any thing useful by c++

but i found php code, lib and this is examble
$secretkey = Base32Static::encode("randomkey");
$currentcode = '431554';

if (TokenAuth6238::verify($secretkey,$currentcode))
echo "Code is valid\n";
} else {
echo "Invalid code\n";


this i need any lib or function like this in c++
<if (TokenAuth6238::verify($secretkey,$currentcode))>

also function like this to encode the key

i will very happy to see your reply to this question
Topic archived. No new replies allowed.