Readable implementation of the Noise protocol framework
posted June 2017
I wrote an implementation of the Noise Protocol Framework. If you don't know what that is, it is a framework to create lightweight TLS-like protocols. If you do not want to use TLS because it is unnecessarily complicated, and you know what you're doing, Noise is the solution. You have different patterns for different usecase and everything is well explained for you to implement it smoothly.
To learn more about Noise you can also check this screencast I shot last year:
This led me to first implement a readable and understandable version of Noise here.
Note that this is highly experimental and it has not been thoroughly tested.
I also had to deviate from the specification when naming things because Golang:
- doesn't use snake_case, but Noise does.
- capitalizes function names to make them public, Noise does it for different reasons.