# libp2p-secio

> Secio implementation in JavaScript

Latest version **0.13.1** (published 2020-08-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install libp2p-secio
pnpm add libp2p-secio
yarn add libp2p-secio
bun add libp2p-secio
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.13.1 |
| Published | 2020-08-11 |
| First published | 2016-05-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.0.0 |
| Dependencies | 13 |
| Unpacked size | 478.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | daviddias, dignifiedquire, jacobheun |
| Keywords | IPFS, libp2p, crypto, rsa |

## Links

- npm: https://www.npmjs.com/package/libp2p-secio
- Repository: https://github.com/ipfs/js-libp2p-secio
- Issues: https://github.com/ipfs/js-libp2p-secio/issues
- npm.io page: https://npm.io/package/libp2p-secio

## Dependencies (13)

- [bl](https://npm.io/package/bl.md) ^4.0.0
- [debug](https://npm.io/package/debug.md) ^4.1.1
- [it-pair](https://npm.io/package/it-pair.md) ^1.0.0
- [it-pipe](https://npm.io/package/it-pipe.md) ^1.1.0
- [peer-id](https://npm.io/package/peer-id.md) ^0.14.0
- [protons](https://npm.io/package/protons.md) ^2.0.0
- [it-pb-rpc](https://npm.io/package/it-pb-rpc.md) ^0.1.4
- [multiaddr](https://npm.io/package/multiaddr.md) ^8.0.0
- [uint8arrays](https://npm.io/package/uint8arrays.md) ^1.1.0
- [libp2p-crypto](https://npm.io/package/libp2p-crypto.md) ^0.18.0
- [libp2p-interfaces](https://npm.io/package/libp2p-interfaces.md) ^0.4.0
- [it-length-prefixed](https://npm.io/package/it-length-prefixed.md) ^3.0.1
- [multihashing-async](https://npm.io/package/multihashing-async.md) ^2.0.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

- 0.13.1 (latest) — 2020-08-11
- 0.13.0 — 2020-08-10
- 0.12.6 — 2020-07-08
- 0.12.5 — 2020-05-07
- 0.12.4 — 2020-03-23
- 0.12.3 — 2020-02-13
- 0.12.2 — 2020-01-06
- 0.12.1 — 2019-11-26
- 0.11.1 — 2019-01-11
- 0.11.0 — 2019-01-03
- 0.10.1 — 2018-10-31
- 0.10.0 — 2018-04-05
- 0.9.4 — 2018-03-28
- 0.9.3 — 2018-02-27
- 0.9.2 — 2018-02-12
- … 21 more at https://npm.io/package/libp2p-secio/versions

## README

# js-libp2p-secio

[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://protocol.ai)
[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p)
[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io)
[![](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-secio.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-secio)
[![](https://img.shields.io/travis/libp2p/js-libp2p-secio.svg?style=flat-square)](https://travis-ci.com/libp2p/js-libp2p-secio)
[![Dependency Status](https://david-dm.org/libp2p/js-libp2p-secio.svg?style=flat-square)](https://david-dm.org/libp2p/js-libp2p-secio)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
![](https://img.shields.io/badge/npm-%3E%3D3.0.0-orange.svg?style=flat-square)
![](https://img.shields.io/badge/Node.js-%3E%3D6.0.0-orange.svg?style=flat-square)


> SECIO implementation in JavaScript

This repo contains the JavaScript implementation of secio, an encryption protocol used in libp2p. This is based on this [go implementation](https://github.com/libp2p/go-libp2p-secio).

## Lead Maintainer

[Friedel Ziegelmayer](https://github.com/dignifiedquire/)

## Table of Contents

- [Install](#install)
- [Usage](#usage)
- [API](#api)
- [Contribute](#contribute)
- [License](#license)

## Install

```sh
npm install libp2p-secio
```

## Usage

```js
const secio = require('libp2p-secio')
```

## API

This module exposes a crypto interface, as defined in the [js-interfaces](https://github.com/libp2p/js-interfaces)

[ » API Docs ](https://github.com/libp2p/js-interfaces/tree/master/src/crypto#api)

## Contribute

Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/js-libp2p-secio/issues)!

This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).

[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/contributing.md)

## License

[MIT](LICENSE)

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