TOTP one-time password generator implemented in pure C with zero external dependencies. Generate RFC 6238 compliant time-based one-time passwords.
scorpiox-otp is a lightweight TOTP (Time-based One-Time Password) generator
built in pure C with zero external dependencies. It implements RFC 6238 (TOTP) and RFC 4226
(HOTP) algorithms using a built-in HMAC-SHA1 implementation. The tool accepts a base32-encoded
secret key and produces a 6-digit time-based code that refreshes every 30 seconds — compatible
with Google Authenticator, Authy, 1Password, and any other standard TOTP application.
Designed for CI/CD pipelines, automation scripts, and headless environments where a GUI
authenticator app is unavailable.
| Flag | Short | Description | Takes Value |
|---|---|---|---|
--help |
-h |
Display help information and usage | Yes |
scorpiox/scorpiox-otp.c