# hashers

> All password hashing algorithms for Django implemented in javascript for nodejs projects.

Latest version **1.0.1** (published 2016-03-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install hashers
pnpm add hashers
yarn add hashers
bun add hashers
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-03-18 |
| First published | 2016-03-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 31 |
| Author | Kalyan Vishnubhatla |
| Maintainers | kalvish |
| Keywords | django, password, hashing |

## Links

- npm: https://www.npmjs.com/package/hashers
- Repository: https://github.com/kalvish21/hashers
- Homepage: https://github.com/kalvish21/hashers#readme
- Issues: https://github.com/kalvish21/hashers/issues
- npm.io page: https://npm.io/package/hashers

## Dependencies (3)

- [bcrypt](https://npm.io/package/bcrypt.md) ^0.8.5
- [crypt3](https://npm.io/package/crypt3.md) ^0.2.0
- [crypto](https://npm.io/package/crypto.md) ^0.0.3

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-03-18
- 1.0.0 — 2016-03-18

## README

# hashers
All password hashing algorithms for Django implemented in javascript for nodejs projects.

# Supported Algorithms

1. PBKDF2PasswordHasher
2. PBKDF2SHA1PasswordHasher
3. BCryptSHA256PasswordHasher
4. BCryptPasswordHasher
5. SHA1PasswordHasher
6. MD5PasswordHasher
7. UnsaltedSHA1PasswordHasher
8. UnsaltedMD5PasswordHasher
9. CryptPasswordHasher

# Usage

```javascript
var h = new PBKDF2PasswordHasher();
var hash1 = h.encode("password", h.salt());
console.log(h.verify("password", hash1)); // returns true
console.log(h.verify("wrong_password", hash1)); // returns false
```

# Installation
```ssh
npm install hashers
```

Similar approach to the above code sample can be used for all the other algorithms.

---
_Source: https://npm.io/package/hashers · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
