Return random bytes using SHA1 in counter mode with a /dev/urandom * initialized seed. This function is fast so can be used to generate * many bytes without any effect on the operating system entropy pool. * Currently this function is not thread safe. */
| 7215 | * many bytes without any effect on the operating system entropy pool. |
| 7216 | * Currently this function is not thread safe. */ |
| 7217 | void RM_GetRandomBytes(unsigned char *dst, size_t len) { |
| 7218 | getRandomBytes(dst,len); |
| 7219 | } |
| 7220 | |
| 7221 | /* Like RedisModule_GetRandomBytes() but instead of setting the string to |
| 7222 | * random bytes the string is set to random characters in the in the |
nothing calls this directly
no test coverage detected