RuslanUC / CWifiOtp

Simple password generator based on TOTP in pure C without dependencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple password generator based on TOTP in pure C without dependencies

Project based on c_otp and tiny-HMAC-c and used by me to generate Wi-Fi passwords for guest network.
The output executable is only ~25kb (on mips32 when dynamically-linked with uclibc).

Usage:

$ ./wifi_opt [b32_secretkey]

Example:

$ ./wifi_opt aaaaaaaaaaaaaaaa
0x13b11aa009_304)

Password format: hex(code*code) _ (code % 997) ) where code is 6-digit totp.
Password example: 0x13b11aa009_304) (key - aaaaaaaaaaaaaaaa, time - 1680774681)

About

Simple password generator based on TOTP in pure C without dependencies

License:MIT License


Languages

Language:C 99.1%Language:CMake 0.9%