#monocypher #generated-bindings #api-bindings

sys mini-monocypher-sys

Monocypher C FFI Bindings generated by bindgen

2 releases

0.1.1 Jul 27, 2023
0.1.0 Jul 25, 2023

#96 in #generated-bindings

Download history 6/week @ 2024-02-19 31/week @ 2024-02-26 4/week @ 2024-03-11 49/week @ 2024-04-01

53 downloads per month
Used in 2 crates (via mini-monocypher)

CC0 license

400KB
7.5K SLoC

C 6.5K SLoC // 0.3% comments Python 444 SLoC // 0.6% comments Shell 197 SLoC // 0.7% comments Rust 29 SLoC // 0.3% comments

mini-monocypher-sys

mini-monocypher-sys provides bindgen generated C bindings to Monocypher C library. It currently exposes only a subset of functionality which is exposed as an api by mini-monocypher crate.

Status

The current bindings are generated:

  • crypto_blake2b_* functions
  • crypto_aead_{lock,unlock}
  • crypto_x25519_* functions

No runtime deps

~0–2MB
~39K SLoC