MCPcopy Create free account
hub / github.com/ElementsProject/lightning / hash_str

Function hash_str

lightningd/plugin.h:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25};
26
27static inline size_t hash_str(const char *str)
28{
29 return siphash24(siphash_seed(), str, strlen(str));
30}
31
32static inline const char *plugin_subscription_key(const struct plugin_subscription *ps)
33{

Callers

nothing calls this directly

Calls 2

siphash24Function · 0.85
siphash_seedClass · 0.50

Tested by

no test coverage detected