sodiumoxide was becoming defunct, and also introduced some breaking changes in minor updates so we've switched to rust-crypto libraries which provide the same primitives (while still being well seen). these libraries also happen to be in pure rust which should be great for people actually building our crate as it means less dependencies that need a C compiler.
sodiumerrors now correspond to rust-crypto errors.
Test Plan (required)
All tests continue to pass unmodified to validate no differences between the two algorithims.
I have also manually validated every single example manually.
fixes #40
Motivation (required)
sodiumoxide was becoming defunct, and also introduced some breaking changes in minor updates so we've switched to rust-crypto libraries which provide the same primitives (while still being well seen). these libraries also happen to be in pure rust which should be great for people actually building our crate as it means less dependencies that need a C compiler.
sodiumerrors now correspond to rust-crypto errors.
Test Plan (required)