/******************************************************************************* D language bindings for libsodium's crypto_core_hchacha20.h License: ISC (see LICENSE.txt) *******************************************************************************/ module libsodium.crypto_core_hchacha20; @nogc nothrow: import libsodium.export_; extern (C): enum crypto_core_hchacha20_OUTPUTBYTES = 32U; size_t crypto_core_hchacha20_outputbytes (); enum crypto_core_hchacha20_INPUTBYTES = 16U; size_t crypto_core_hchacha20_inputbytes (); enum crypto_core_hchacha20_KEYBYTES = 32U; size_t crypto_core_hchacha20_keybytes (); enum crypto_core_hchacha20_CONSTBYTES = 16U; size_t crypto_core_hchacha20_constbytes (); int crypto_core_hchacha20 ( ubyte* out_, const(ubyte)* in_, const(ubyte)* k, const(ubyte)* c);