Menu

Tree [7f169e] master /
 History

HTTPS access


File Date Author Commit
 Changelog 2025-02-15 Gergely Szasz Gergely Szasz [7f169e] examples.sh test.sh
 README 2025-02-15 Gergely Szasz Gergely Szasz [7f169e] examples.sh test.sh
 examples.sh 2025-02-15 Gergely Szasz Gergely Szasz [7f169e] examples.sh test.sh
 test.sh 2025-02-15 Gergely Szasz Gergely Szasz [7f169e] examples.sh test.sh
 thotp.sh 2025-02-15 Gergely Szasz Gergely Szasz [7f169e] examples.sh test.sh

Read Me

BASHTOTP 0.9
==========================================================================

HOTP TOTP and HMAC-SHA1,224,256,384,512 implementation in pure bash

thotp.sh

You can use as a "library" just source thotp.sh and use:
> thotp key-in-hexstring

or
> thotp $(base32hexstr key-in-base32)

Or you can add your code at the end of the file.

For detailed explanation just run examples.sh:
> bash examples.sh

For test the library run test.sh
> bash test.sh
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.