New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

vintagecrypt

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vintagecrypt

vintagecrypt helps to verify the authenticity of users by automatically adding acid to user's password and hashing them using its SHA-256 hashing algorithm

latest
Source
npmnpm
Version
1.1.6
Version published
Maintainers
1
Created
Source

Vintage Encryption


As technology advances, security of users data are constantly undermined with bad actors gaining unauthorized access to sensitive information.

Vintage encryption uses SHA-256 hashing algorithm to verify the authenticity and integrity of users by adding an acid: A unique 32-hexadecimals separated by special characters hashed together with a user's password in order to obfuscate hackers in their attempt to perform either of rainbow table or dictionary attacks.

Note: While the addition of acid makes it incredibly difficult for hackers to decrypt digital signatures or passwords hashed with vintagecrypt thus increasing the amount of time needed to crack multiple accounts at a time, organizations must ensure they enforce password complexity rules, implement Two-factor authentication, protect access to their password databases and limit the number of password trials.

Usage:

The module is compatible with CommonJS and can be installed as follows;

npm install vintagecrypt

const vintageCrypt = require("vintagecrypt");

Authentication:

const hashedPassword = vintageCrypt.hash("userPassword");


The value of `hashedPassword` is stored in the database as the cryptographic hash value of the user's password.

To verify user's integrity during login, the following line of code can be followed;

const isPasswordValid = vintageCrypt.verify("userPassword", hashedPassword);


The variable `isPasswordValid will return a boolean`. It will return `true` if there is a match and `false` if there is no match.

Keywords

encryption

FAQs

Package last updated on 14 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts