mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
10 lines
249 B
C
10 lines
249 B
C
|
#include <stddef.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
/**
|
||
|
* Converts a binary string to a hex representation of that string
|
||
|
* outbuf must have size of at least buf * 2 + 1.
|
||
|
*/
|
||
|
int libscrypt_hexconvert(const uint8_t *buf, size_t s, char *outbuf,
|
||
|
size_t obs);
|