Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentsnpm

otplib

HMAC-based (HOTP, RFC 4226) and time-based (TOTP, RFC 6238) one-time password generation and verification.

In short

What to know.

Algorithms
HMACNone would be broken by a large quantum computer.
Advisories
None in the storeOSV last read 3 December 2026, 16:49 UTC.
What to do
Nothing is recorded against this package.

0 in the store

Advisories

No advisory in the store for this package.

OSV listed none on 3 December 2026, 16:49 UTC. That does not mean the package has no problems.

Reviewed 3 December 2026

Sources

  1. npm registry metadata for otplibregistry.npmjs.orgRetrieved 3 December 2026
  2. otplib READMEgithub.comRetrieved 3 December 2026

Full record

Package
otplib
Ecosystem
npm
Role
Protocol
Status
Not marked deprecated by its registry or maintainers.
Reviewed
Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
Advisories read
Last read from OSV 3 December 2026, 16:49 UTC
Findings
No finding refers to this package yet.

Algorithms it provides

  • HMAC macSymmetricWeakened by Grover's search

What a large quantum computer would change

  • Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.HMAC

Notes describe algorithm families, not any one project.