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

apache-crypt

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apache-crypt

Node.js module for Apache style password encryption using crypt(3).

  • 1.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
383K
decreased by-13.58%
Maintainers
1
Weekly downloads
 
Created

What is apache-crypt?

The apache-crypt npm package provides functions to create and verify passwords using the Apache htpasswd crypt algorithm. It is useful for managing user authentication in web applications that use Apache's htpasswd files.

What are apache-crypt's main functionalities?

Encrypt Password

This feature allows you to encrypt a plain text password using the Apache htpasswd crypt algorithm. The encrypted password can then be stored securely.

const apacheCrypt = require('apache-crypt');
const encryptedPassword = apacheCrypt('myPassword');
console.log(encryptedPassword);

Verify Password

This feature allows you to verify a plain text password against an encrypted password. It is useful for authentication purposes.

const apacheCrypt = require('apache-crypt');
const encryptedPassword = apacheCrypt('myPassword');
const isMatch = apacheCrypt('myPassword', encryptedPassword) === encryptedPassword;
console.log(isMatch);

Other packages similar to apache-crypt

Keywords

FAQs

Package last updated on 13 May 2016

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

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