Oliver Gugger 648fb22f63 multi: wrap all errors | 3 hónapja | |
---|---|---|
.. | ||
README.md | 0b1e881d18 scripted-diff: replace ⛰ emoji with $ [skip ci] | 1 éve |
bench_test.go | b796b747ed brontide: replace defer cleanup with `t.Cleanup` | 1 éve |
conn.go | 7dfe4018ce multi: use btcd's btcec/v2 and btcutil modules | 2 éve |
fuzz_test.go | bad4a66279 brontide: derandomize fuzz tests | 1 éve |
listener.go | 648fb22f63 multi: wrap all errors | 1 hónapja |
noise.go | 0735522194 multi: fix `make fmt` | 1 éve |
noise_test.go | cd566eb097 multi: fix fmt.Errorf error wrapping | 3 hónapja |
The brontide package implements a secure crypto messaging protocol based off of the Noise Protocol Framework. The package exposes the raw state machine that handles the handshake and subsequent message encryption/decryption scheme. Additionally, the package exposes a net.Conn and a net.Listener interface implementation which allows the encrypted transport to be seamlessly integrated into a codebase.
The secure messaging scheme implemented within this package is described in detail in BOLT #8 of the Lightning Network specifications.
This package has intentionally been designed so it can be used as a standalone package for any projects needing secure encrypted+authenticated communications between network enabled programs.
$ go get -u github.com/lightningnetwork/lnd/brontide