sec51 / twofactor

Golang two factor authentication library
ISC License
217 stars 66 forks source link

Preventing using same OTP twice & Allow to specify stepSize when creating new TOTP #17

Open isuruceanu opened 6 years ago

isuruceanu commented 6 years ago

Added functionality to prevent using otp twice, Also TOTPFromBytes it is back compatible to old totp struct without lastUsedOtp.