sodium ~master (2019-06-07T17:14:01Z)
Home
Dub
Repo
sodium_pad
deimos
sodium
utils
extern (
C
) @
nogc
nothrow pure
int
sodium_pad
(
size_t
*
padded_buflen_p
,
ubyte
*
buf
,
size_t
unpadded_buflen
,
size_t
blocksize
,
size_t
max_buflen
)
Return Value
Type:
int
0 on success, -1 otherwise
See Also
https://download.libsodium.org/doc/padding#usage
Meta
Source
See Implementation
deimos
sodium
utils
functions
sodium_add
sodium_allocarray
sodium_base642bin
sodium_base64_ENCODED_LEN
sodium_base64_encoded_len
sodium_bin2base64
sodium_bin2hex
sodium_compare
sodium_free
sodium_hex2bin
sodium_increment
sodium_is_zero
sodium_malloc
sodium_memcmp
sodium_memzero
sodium_mlock
sodium_mprotect_noaccess
sodium_mprotect_readonly
sodium_mprotect_readwrite
sodium_munlock
sodium_pad
sodium_stackzero
sodium_sub
sodium_unpad
variables
sodium_base64_VARIANT_ORIGINAL
sodium_base64_VARIANT_ORIGINAL_NO_PADDING
sodium_base64_VARIANT_URLSAFE
sodium_base64_VARIANT_URLSAFE_NO_PADDING