06-03-2025, 07:10 PM
I have only briefly scanned this thread but I gather that in order to implement the Time-based One-Time Password you need some form of encryption, there's a public domain C library https://www.libtom.net/LibTomCrypt/
Quote:Ciphers Supported:maybe you can use that library or borrow some code/ideas
- AES (aka Rijndael)
- Anubis (with optional tweak as proposed by the developers)
- Blowfish
- CAST5
- Camellia
- DES, two-key 3DES, 3DES
- KASUMI
- Khazad
- Multi2
- Noekeon
- RC2
- RC5
- RC6
- SAFER (K64, SK64, K128, SK128)
- SAFER+
- SEED
- Skipjack
- Twofish
- XTEA