haskell-cryptography / cacophony

A Haskell library implementing the Noise protocol.
The Unlicense
96 stars 16 forks source link

Create Noise Monad #11

Open centromere opened 5 years ago

centromere commented 5 years ago

Under the current API it is too easy for catastrophic NoiseState re-use to occur. I intend to create a Noise Monad to provide better encapsulation of implementation details and hopefully make the library easier to use.