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. */
| 7407 | * many bytes without any effect on the operating system entropy pool. |
| 7408 | * Currently this function is not thread safe. */ |
| 7409 | void RM_GetRandomBytes(unsigned char *dst, size_t len) { |
| 7410 | getRandomBytes(dst,len); |
| 7411 | } |
| 7412 | |
| 7413 | /* Like RedisModule_GetRandomBytes() but instead of setting the string to |
| 7414 | * random bytes the string is set to random characters in the in the |
nothing calls this directly
no test coverage detected