All Projects → ChainSafe → js-libp2p-noise

ChainSafe / js-libp2p-noise

Licence: MIT License
Noise libp2p handshake for js-libp2p

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to js-libp2p-noise

Noise
.NET Standard 1.3 implementation of the Noise Protocol Framework (revision 33 of the spec)
Stars: ✭ 124 (+490.48%)
Mutual labels:  encryption, noise
Berty
Berty is a secure peer-to-peer messaging app that works with or without internet access, cellular data or trust in the network
Stars: ✭ 5,101 (+24190.48%)
Mutual labels:  encryption, libp2p
simple-crypto-js
Simplified AES cryptography for safer and easier encryption and decryption processes of any JavaScript objects.
Stars: ✭ 78 (+271.43%)
Mutual labels:  encryption
kodex
A privacy and security engineering toolkit: Discover, understand, pseudonymize, anonymize, encrypt and securely share sensitive and personal data: Privacy and security as code.
Stars: ✭ 70 (+233.33%)
Mutual labels:  encryption
fluffychat
🐑 Decentralized chat with private messages and rooms. Messages and files are encrypted using RSA
Stars: ✭ 25 (+19.05%)
Mutual labels:  encryption
cyphr
Humane encryption
Stars: ✭ 91 (+333.33%)
Mutual labels:  encryption
Secure-File-Manager
Secure File Manager is open source file manager for keeping your files in safe.
Stars: ✭ 89 (+323.81%)
Mutual labels:  encryption
pakkero
Pakkero is a binary packer written in Go made for fun and educational purpose. Its main goal is to take in input a program file (elf binary, script, even appimage) and compress it, protect it from tampering and intrusion.
Stars: ✭ 143 (+580.95%)
Mutual labels:  encryption
devgrants
want to hack on libp2p? this repo tracks libp2p endeavors eligible for incentivization.
Stars: ✭ 35 (+66.67%)
Mutual labels:  libp2p
zarch
The Ultimate Script For Arch Linux
Stars: ✭ 49 (+133.33%)
Mutual labels:  encryption
sio-go
Authenticated encryption for streams in Go
Stars: ✭ 21 (+0%)
Mutual labels:  encryption
mongoose-field-encryption
A simple symmetric encryption plugin for individual fields. Dependency free, only mongoose peer dependency.
Stars: ✭ 47 (+123.81%)
Mutual labels:  encryption
vector
Virus Ruby
Stars: ✭ 29 (+38.1%)
Mutual labels:  encryption
borg
Client-server stack for Web3! Turn your Raspberry Pi to a BAS server in minutes and enjoy the freedom of decentralized Web with a superior user experience!
Stars: ✭ 25 (+19.05%)
Mutual labels:  libp2p
warshield
Warshield is a file encryption and decryption CLI using AES 256 algorithm
Stars: ✭ 29 (+38.1%)
Mutual labels:  encryption
Crypto
封装多种CTF和平时常见加密及编码C#类库
Stars: ✭ 20 (-4.76%)
Mutual labels:  encryption
virgil-sdk-net
Virgil Core SDK allows developers to get up and running with Virgil Cards Service API quickly and add end-to-end security to their new or existing digital solutions to become HIPAA and GDPR compliant and more.
Stars: ✭ 16 (-23.81%)
Mutual labels:  encryption
encrypt0r
App to encrypt and decrypt your files with a passphrase, powered by
Stars: ✭ 26 (+23.81%)
Mutual labels:  encryption
Effer
Encrypted CLI Notepad written in Rust
Stars: ✭ 12 (-42.86%)
Mutual labels:  encryption
AES
AES for microcontrollers (Arduino & Raspberry pi)
Stars: ✭ 116 (+452.38%)
Mutual labels:  encryption

js-libp2p-noise

npm CI

Discourse posts

Noise libp2p handshake for js-libp2p

This repository contains TypeScript implementation of noise protocol, an encryption protocol used in libp2p.

Warning: Even though this package works in browser, it will bundle around 600Kb (200Kb gzipped) of code

https://bundlephobia.com/result?p=@chainsafe/libp2p-noise@latest

Usage

Install with yarn add @chainsafe/libp2p-noise or npm i @chainsafe/libp2p-noise.

Example of using default noise configuration and passing it to the libp2p config:

import {NOISE, Noise} from "@chainsafe/libp2p-noise"


//custom noise configuration, pass it instead of NOISE instance
const noise = new Noise(privateKey, Buffer.alloc(x));

const libp2p = new Libp2p({
   modules: {
     connEncryption: [NOISE],
   },
});

Where parameters for Noise constructor are:

  • static Noise key - (optional) existing private Noise static key
  • early data - (optional) an early data payload to be sent in handshake messages

API

This module exposes a crypto interface, as defined in the repository js-interfaces.

» API Docs

Contribute

Feel free to join in. All welcome. Open an issue!

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].