A tiny package for generating 2FA QR codes and TOTP/HOTP codes in Nim
nimble install twofa
- 🔐 Generate TOTP and HOTP codes
- 📱 Create QR codes for easy setup with authenticator apps
Note
This library is built on top of the qr for QR code generation.
Check out the tests/*.nim folder for examples of how to use the library.
Currently you can use otp to verify TOTP and HOTP codes, but I plan to add that functionality directly into this library in the future.
- 🐛 Found a bug? Create a new Issue
- 👋 Wanna help? Fork it!
- 😎 Get €20 in cloud credits from Hetzner
MIT license. Made by Humans from OpenPeeps.
Copyright OpenPeeps & Contributors — All rights reserved.