2016-05-20 21:13:55 +02:00
# js-libp2p-secio
2016-05-20 21:29:53 +02:00
2019-04-15 11:43:59 +01:00
[](http://protocol.ai)
[](http://libp2p.io/)
[](http://webchat.freenode.net/?channels=%23libp2p)
[](https://discuss.libp2p.io)
[](https://codecov.io/gh/libp2p/js-libp2p-secio)
[](https://travis-ci.com/libp2p/js-libp2p-secio)
2017-09-01 14:27:22 +01:00
[](https://david-dm.org/libp2p/js-libp2p-secio)
[](https://github.com/feross/standard)
2016-11-03 10:23:33 +01:00

2017-09-03 12:30:52 +01:00

2016-11-03 10:23:33 +01:00
2016-05-20 21:29:53 +02:00
2018-01-07 10:31:38 +00:00
> SECIO implementation in JavaScript
2016-05-20 21:29:53 +02:00
2016-06-13 19:10:38 +02:00
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 ).
2016-05-20 21:29:53 +02:00
2018-05-29 15:17:41 +01:00
## Lead Maintainer
[Friedel Ziegelmayer ](https://github.com/dignifiedquire/ )
2016-06-24 16:05:30 +01:00
## Table of Contents
- [Install ](#install )
- [Usage ](#usage )
- [API ](#api )
- [Contribute ](#contribute )
- [License ](#license )
## Install
```sh
2016-06-13 19:10:38 +02:00
npm install libp2p-secio
2016-06-24 16:05:30 +01:00
```
## Usage
```js
2016-06-13 19:10:38 +02:00
const secio = require('libp2p-secio')
2016-06-24 16:05:30 +01:00
```
2016-05-20 21:29:53 +02:00
## API
2016-06-24 16:05:30 +01:00
2019-11-22 21:18:17 +01:00
This module exposes a crypto interface, as defined in the [js-interfaces ](https://github.com/libp2p/js-interfaces )
2016-06-13 19:10:38 +02:00
2019-11-22 21:18:17 +01:00
[ » API Docs ](https://github.com/libp2p/js-interfaces/tree/master/src/crypto#api )
2016-06-13 19:10:38 +02:00
2016-06-24 16:05:30 +01:00
## Contribute
2016-10-04 12:30:47 -04:00
Feel free to join in. All welcome. Open an [issue ](https://github.com/libp2p/js-libp2p-secio/issues )!
2016-06-24 16:05:30 +01:00
This repository falls under the IPFS [Code of Conduct ](https://github.com/ipfs/community/blob/master/code-of-conduct.md ).
[](https://github.com/ipfs/community/blob/master/contributing.md)
## License
[MIT ](LICENSE )