# bcrypto-mb

> Bcoin crypto module

Latest version **3.0.1** (published 2019-01-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install bcrypto-mb
pnpm add bcrypto-mb
yarn add bcrypto-mb
bun add bcrypto-mb
```

## 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 | 3.0.1 |
| Published | 2019-01-18 |
| First published | 2019-01-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 4 |
| Unpacked size | 3.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 102 |
| Author | Christopher Jeffrey |
| Maintainers | matrix-pay |
| Keywords | cipher, crypto, digest, hash, hashing |

## Links

- npm: https://www.npmjs.com/package/bcrypto-mb
- Repository: https://github.com/bcoin-org/bcrypto
- Issues: https://github.com/bcoin-org/bcrypto/issues
- npm.io page: https://npm.io/package/bcrypto-mb

## Dependencies (4)

- [nan](https://npm.io/package/nan.md) ~2.12.0
- [bsert](https://npm.io/package/bsert.md) ~0.0.7
- [bufio](https://npm.io/package/bufio.md) ~1.0.3
- [bindings](https://npm.io/package/bindings.md) ~1.3.1

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

- 3.0.1 (latest) — 2019-01-18

## README

# bcrypto

The missing crypto module for node.js. bcrypto provides you with a consistent
interface accross node.js and the browser.

Bcrypto takes advantage of the fact that node.js is statically linked with
OpenSSL. There are a number of features in OpenSSL which are not directly
exposed in the node.js API. As such, the node.js backend for bcrypto adds very
little in terms of memory usage (all of these features are already _in_ the
node.js binary).

## Features

Bcrypto adds a number of features over the standard node.js crypto module.

Low-level APIs for popular public key algorithms:

- DSA
- RSA (PKCS1v1.5, OAEP, PSS)
- ECDSA (p192, p224, p256, p384, p512, secp256k1)
- EdDSA (ed25519, ed448)

Bcrypto includes specialized and optimized support specifically for [secp256k1]
and [ed25519]. Note that these crypto systems are preferred over the NIST
curves (see the [safecurves.cr.yp.to][safecurves] "rigidity" section).

Modern ciphers:

- ChaCha20+Poly1305

Modern hash algorithms:

- SHA3/Keccak
- BLAKE2

Key Derivation:

- bcrypt
- scrypt
- hkdf

Encoding:

- ASN.1 Parsing & Serialization
- SSH key parsing
- PGP keyring parsing

## Usage

``` js
const bcrypto = require('bcrypto');
// TODO
```

## API

TODO

## Contribution and License Agreement

If you contribute code to this project, you are implicitly allowing your code
to be distributed under the MIT license. You are also implicitly verifying that
all code is your original work. `</legalese>`

## License

- Copyright (c) 2017-2018, Christopher Jeffrey (MIT License).

See LICENSE for more info.

[secp256k1]: https://github.com/bitcoin-core/secp256k1
[ed25519]: https://github.com/floodyberry/ed25519-donna
[safecurves]: https://safecurves.cr.yp.to/rigid.html

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