Kernel::System::TwoFactor::Algorithm::HOTP

NAME

Kernel::System::TwoFactor::Algorithm::HOTP

DESCRIPTION

This is a two-factor authentication module that implements HMAC-based one-time password algorithm (HOTP).

PUBLIC INTERFACE

GenerateOTP()

Generates HMAC-based one-time password for two-factor authentication.

my $OTP = $Module->GenerateOTP( Secret => 'MySharedSecretKey', # (required) Shared secret key Counter => 1, # (optional) Counter value, default: 0 );

Scroll to Top