ESP RFID Webui
Architecture and call graph
Loading...
Searching...
No Matches
HashUtils Namespace Reference

Functions

uint64_t hashUid (const String &s)

Function Documentation

◆ hashUid()

uint64_t HashUtils::hashUid ( const String & s)

Definition at line 18 of file HashUtils.cpp.

18 {
19 String t = s;
20 t.trim();
21 t.toUpperCase();
22 return fnv1a64_bytes(reinterpret_cast<const uint8_t*>(t.c_str()), t.length());
23 }
static uint64_t fnv1a64_bytes(const uint8_t *data, size_t len)
Definition HashUtils.cpp:7

References fnv1a64_bytes().

Referenced by AuthSync::hashUid(), and loop().

Here is the call graph for this function:
Here is the caller graph for this function: