[][src]Crate motp

Constants

DEFAULT_OTP_VALID_PERIOD

A commonly used period for OTP checking

Functions

check_otp

Verifies a give otp code according to shared secrets (secret & pin)

create_otp

Creates a 6-character OTP