pyramation/totp is an open source project licensed under MIT License which is an OSI approved license.
Similar projects and alternatives to totp
Minimal TOTP generator in 20 lines of Python
A PostgreSQL extension for Deno: run Typescript in PostgreSQL functions and triggers.
Scout APM - Leading-edge performance monitoring starting at $39/month. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
news.ycombinator.com | 2021-02-25
https://github.com/pyramation/totp/blob/master/packages/totp... yes in the notes of the source here
The first TOTP implementation I wrote was here was much less efficient, literally the algorithm in steps: https://github.com/pyramation/learn-totp/blob/master/package...
That gist is essentially the pure TOTP algo, but it was missing what we use in industry practice that the RFC was missing... base32 encode/decode.
So I implemented a base32 encode/decode so that the TOTP algo actually works with google authenticator and authy https://github.com/pyramation/totp/blob/master/extensions/%4...
When I found the gist, while the original code worked, the gist was much smaller (used more efficient bitwise operations) and the gist author I collaborated briefly and decided to combine the gist and the code for OSS
RFC6238 TOTP implementation in pure PostgreSQL
news.ycombinator.com | 2021-02-24
The file you're pointing to is not the full extension, here it is:news.ycombinator.com | 2021-02-24