Registry / auth / rotp
library6.3.0rbrubygemsunverified

ROTP is a Ruby library for generating and validating one-time passwords using both HOTP and TOTP algorithms, with QR code provisioning support.

gem install rotp
INSTALL
IMPORT
SIG · ROTP
R
rotp
authrubyv6.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ROTP
require 'rotp'

Generate a time-based one-time password

require 'rotp' totp = ROTP::TOTP.new('base32secret3232') puts totp.now # current OTP
Debug
Known issues

No known issues recorded.

Upgrade
Version history
6.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Resources
rotp — gem install rotp · libregistry