Julia wrapper for libsodium
Julia
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gen
src Ptr{None} -> Ptr{Void} Sep 29, 2014
test
LICENSE.md
README.md Add brief description and link to Sodium May 13, 2014

README.md

Sodium

Thin Julia wrapper for libsodium, a crytographic library.

gen/generate.jl generates the wrapper using Clang.jl

src/ls_* files are the generated files src/Sodium.jl includes the generated files

USAGE

  • Call sodium_init() before any other sodium API call
  • See test/basic_tests.jl for some simple use cases

TODO

  • Provide a Julia type to represent keys/hashes
  • struct crypto_generichash_blake2b_state is incorrectly generated (Clang.jl does not yet support fixed size arrays in structs).
  • structs crypto_onetimeauth_poly1305_implementation and randombytes_implementation hold function pointers. Need a better way to access the same.