🔑

OTP Generator

Python73 lines· Generates one-time passwords (OTPs) of a given length. The Otp class can produce OTPs made of digits only, digits with uppercase letters, digits wi…
Original project by @iamdestinychild — view source on GitHub
Ready when you are

OTP Generator

Generates one-time passwords (OTPs) of a given length. The Otp class can produce OTPs made of digits only, digits with uppercase letters, digits with lowercase letters, or all three combined.

How to run

python otpGen.py

Dependencies

Standard library only (random).

Pyodide-runnable

Yes — it is a pure-stdlib program that simply prints a generated OTP.

otp-generator.py· Python 3.x
76 lines
Console· terminal