Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 181 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 181 Bytes

totp-generator

A simple TOTP generator to be used as 2FA .

Implementation

T0 => Start time T => Current UNIX-time TB => Time bucket

DIFF = (T-T0)/TB TOTP = HASH(DIFF) % 1000