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

Function hash_str

plugins/bkpr/account.c:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15#include <wire/wire.h>
16
17static size_t hash_str(const char *str)
18{
19 return siphash24(siphash_seed(), str, strlen(str));
20}
21
22static const char *account_key(const struct account *account)
23{

Callers

nothing calls this directly

Calls 2

siphash24Function · 0.85
siphash_seedClass · 0.50

Tested by

no test coverage detected