SolarEnergy/esp32_device/main/random.h

22 lines
236 B
C

/**
* Random utilities
*/
#pragma once
#include <stddef.h>
#ifdef __cplusplus
extern "C"
{
#endif
/**
* Generate random string of given size
*/
void rand_str(size_t len, char *dest);
#ifdef __cplusplus
}
#endif