TCL/C extension for Multi-Factor Authentication (MFA) using TOTP and HOTP. https://github.com/jerily/tmfa%|%tmfa git repo%|% Tcl Commands ====== # Generate a TOTP token using the secret. # tmfa::get_totp base32_encoded_secret digits period algo tmfa::get_totp abcdef 6 45 SHA256 # Generate a HOTP token using the secret. # tmfa::get_hotp secret counter digits algo tmfa::get_hotp abcdef 0 6 SHA1 # Base32 encode a string. # tmfa::base32_encode text tmfa::base32_encode something # Base32 decode a string. # tmfa::base32_decode base32_encoded_text tmfa::base32_decode [tmfa::base32_encode something] ======