@epic-web/totp
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -59,3 +59,3 @@ /** | ||
for (let i = 0; i < digits; i++) { | ||
hotp += charSet.charAt(hotpVal % charSet.length) | ||
hotp = charSet.charAt(hotpVal % charSet.length) + hotp | ||
hotpVal = Math.floor(hotpVal / charSet.length) | ||
@@ -62,0 +62,0 @@ } |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Create and verify cryptographically secure Time-based One-time Passwords (TOTP) using the HMAC-based One-time Password (HOTP) algorithm.", | ||
@@ -17,0 +17,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24187