tce_functions_otp.php
Tags
Table of Contents
Functions
- F_getRandomOTPkey() : Base32
- Return a random One Time Password Secret Key (Base32 encoded).
- F_decodeBase32() : Decoded
- Decode a Base32 encoded string.
- F_getOTP() : OTP
- Get a One Time Password for the specified secret key.
Functions
F_getRandomOTPkey()
Return a random One Time Password Secret Key (Base32 encoded).
F_getRandomOTPkey()
: Base32
Return values
Base32 —encoded key.
F_decodeBase32()
Decode a Base32 encoded string.
F_decodeBase32( $code)
: Decoded
Parameters
Return values
Decoded —key.
F_getOTP()
Get a One Time Password for the specified secret key.
F_getOTP( $otpkey[,
$mtime
= 0
]) : OTP