Skip to content

amitmurthy/Sodium.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Julia wrapper for libsodium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages