Rust C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ci @ b6b456c
ci-config switch to rust-ci-helpers May 25, 2016
src
tests
tweetnacl-sys keywords, categories, and badges Feb 3, 2017
tweetnacl
.gitignore
.gitmodules
.travis.yml ci: env tweak Jan 29, 2017
Cargo.toml
README.md Update README.md Jan 30, 2017

README.md

sodalite

An implimentation of tweetnacl in pure rust. Originally generated by manually translating tweetnacl.c into rust. Tested by verifying outputs match those of tweetnacl.

Todo

  • provide additional APIs:
    • rather than take bare mutable references, use wrapper types around the refs to capture the underlying type (ie: prevent mixing keys between primitives)
    • add a buffer and/or "set-only" abstraction to prevent unsafety wrt uninitialized values (also should allow some internal optimization).
    • sodiumoxide style API that returns values rather than taking mutable refs
  • Use namespacing to seperate different APIs and backend impls
  • start testing against sodiumoxide as well
  • Provide some of the API impovements from libsodium that are missing nacl (disjoint signatures, not requiring special extra space in buffers)

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.