Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

2factor-auth

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

2factor-auth - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

lib/2FA.js

@@ -8,3 +8,3 @@ var crypto = require('crypto');

* Get a base36 crypto secure key
* @param {number} length (Optional) length in bytes of the generated key (defaults to 20)
* @param {number?} length (Optional) length in bytes of the generated key (defaults to 20)
* @param {function(Error, string)} cb callback(err, result) function that will be called with the generated key

@@ -11,0 +11,0 @@ * @returns {void}

{
"name": "2factor-auth",
"version": "1.0.1",
"version": "1.0.2",
"description": "TOTP + HOTP library, aimed for communication between servers handing 2FA",

@@ -5,0 +5,0 @@ "main": "lib/2FA.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc