# browserify-cryptojs

> CryptoJS in CommonJS

Latest version **0.3.1** (published 2014-12-04) · 0 weekly downloads

## Install

```sh
npm install browserify-cryptojs
pnpm add browserify-cryptojs
yarn add browserify-cryptojs
bun add browserify-cryptojs
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2014-12-04 |
| First published | 2014-12-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Fahad Ibnay Heylaal |
| Maintainers | fahad19 |
| Keywords | browserify, cryptojs, crypto, cipher, encrypt, decrypt |

## Links

- npm: https://www.npmjs.com/package/browserify-cryptojs
- Repository: https://github.com/fahad19/crypto-js
- Issues: https://github.com/fahad19/crypto-js/issues
- npm.io page: https://npm.io/package/browserify-cryptojs

## 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

- 0.3.1 (latest) — 2014-12-04
- 0.3.0 — 2014-12-04
- 0.1.0 — 2014-12-04

## README

# CryptoJS

Port of CryptoJS for using with CommonJS.

Original project: https://code.google.com/p/crypto-js/

### Install

    $ bower install browserify-cryptojs

    $ npm install browserify-cryptojs

### Usage with Browserify

```javascript
window.CryptoJS = require('browserify-cryptojs');
require('browserify-cryptojs/components/enc-base64');
require('browserify-cryptojs/components/md5');
require('browserify-cryptojs/components/evpkdf');
require('browserify-cryptojs/components/cipher-core');
require('browserify-cryptojs/components/aes');
```

### Encryption/Decryption

```javascript
var passphrase = 'MyKeyHere';
var encrypted = CryptoJS.AES.encrypt('ssshhhhh!', passphrase); // .toString() for just string
var decrypted = CryptoJS.AES.decrypt(encrypted, passphrase); // .toString(CryptoJS.enc.Utf8) for getting back `ssshhhhh!`
```

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