MCPcopy Create free account
hub / github.com/F-Stack/f-stack / RM_GetRandomHexChars

Function RM_GetRandomHexChars

app/redis-6.2.6/src/module.c:7224–7226  ·  view source on GitHub ↗

Like RedisModule_GetRandomBytes() but instead of setting the string to * random bytes the string is set to random characters in the in the * hex charset [0-9a-f]. */

Source from the content-addressed store, hash-verified

7222 * random bytes the string is set to random characters in the in the
7223 * hex charset [0-9a-f]. */
7224void RM_GetRandomHexChars(char *dst, size_t len) {
7225 getRandomHexChars(dst,len);
7226}
7227
7228/* --------------------------------------------------------------------------
7229 * ## Modules API exporting / importing

Callers

nothing calls this directly

Calls 1

getRandomHexCharsFunction · 0.85

Tested by

no test coverage detected