TtweetnaclTweetNaCl cryptography.
The binding exposes two modules with the same signature except for the type used for storing bytes:
Bigcrypto uses bigbytes values which are managed by the C allocator. Calls to the C primitives may release the runtime system when deemed appropriate.Crypto uses bytes values which are managed by the OCaml garbage collector and thus may be copied around in memory – you may care, or not. Calls to the C primitives never release the runtime system.References.