A 1-1 end-to-end encrypted internet pipe powered by Hyperswarm and Noise
npm install hyperbeam
Usage
const Hyperbeam = require('hyperbeam')// 'neznr3z3j44l7q7sgynbzpdrdlpausurbpcmqvwupmuoidolbopa' is 32-byte unique passphrase// to find the other side of your pipe.// once the other peer is discovered it is used to derive a noise keypair as well.const beam = new Hyperbeam('neznr3z3j44l7q7sgynbzpdrdlpausurbpcmqvwupmuoidolbopa')// to generate a passphrase, leave the constructor empty and hyperbeam will generate one for you// const beam = new Hyperbeam()// beam.key // <-- your passphrase// make a little chat appprocess.stdin.pipe(beam).pipe(process.stdout)