{"repo":"fosskers/totp-lite","free":true,"listed":false,"github":"https://github.com/fosskers/totp-lite","clone":"git clone https://github.com/fosskers/totp-lite.git","description":"A simple, correct TOTP library.","language":"Rust","stars":33,"topics":["totp","authentication"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"totp-lite A simple, correct TOTP library. Time-based One-time Passwords are a useful way to authenticate a client, since a valid password expires long before it could ever be guessed by an attacker. This library provides an implementation of TOTP that matches its specification [RFC6238], along with a simple interface. Usage The totp function is likely what you need. It uses the default time step of 30 seconds and produces 8 digits of output: For full control over how the algorithm is configured, consider totp custom . Resources - [RFC6238: TOTP][RFC6238] - RFC6238 Errata [RFC6238]: https://tools.ietf.org/html/rfc6238 License: MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/fosskers","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fosskers/totp-lite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}