Closed povilasb closed 5 years ago
We proabably don't need everything in this PR anymore. Socket-collections can now be configured to encrypt/decrypt all wire data so we should be good if users of that crate (like this one) can simply configure it that way.
I was planning to build socket-collection with encryption integration into p2p based on this PR. Otherwise I will have to redo quite a few changes: e.g. replace rust_dosium with safe_crypto types in code/examples/tests...
I would highly advise to review and merge this PR.
Replace rust_sodium with safe_crypto.