I’m happy to share OneTimePasswords.jl, a Julia package providing implementations for HOTP, TOTP, and OCRA. The package includes:
• Generation and verification of HOTP, TOTP, and OCRA codes.
• Flexible time windows and allowed drift handling.
• Provisioning URI generation for use with authenticator apps.
• QR code export in SVG and common bitmap formats.
The API is simple and consistent. You can quickly integrate OTP support into your Julia projects for two-factor authentication or challenge-response systems.
You can find the package and documentation on GitHub / General Registry (soon). Contributions and feedback are welcome.
Edit: The name changed from OTPs to OneTimePasswords to be better distinguishable from other abbreviations.