[x] Replace AuthLib Storage from sqlite to json (ease of use)
[x] Replace Secret Saved Architecture to No-Secret-Saved Architecture
Previously hashes for whole timeframe were being saved and matched while verification. Instead of this, now we're saving the OTP after hashing it and saving the initial timestamp. This enables us to take the timestamp and hashed otp and dynamically create the secrets list (without saving each) to match with while verification.
[x] Introduce a initTime variable in TIMESTAMP generator
initTime will allow us to generate TIMESTAMPS list not only from the current timestamp, but also from a custom defined initiate time.
[x] Change HASH_SECRET generator to allow hashed-OTP Usage
Use md5 hashing for OTP
[x] Modify requestHandler Code to Accommodate dynamic timestamp and secret_list creation
[ Components ]
[ Fixes ]
sqlite
to json (ease of use)initTime
variable inTIMESTAMP
generator