MCPcopy Create free account
hub / github.com/USBGuard/usbguard / hashString

Method hashString

src/Library/DevicePrivate.cpp:126–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 }
125
126 std::string DevicePrivate::hashString(const std::string& value) const
127 {
128 Hash hash;
129 hash.update(value);
130 return hash.getBase64();
131 }
132
133 void DevicePrivate::initializeHash()
134 {

Callers

nothing calls this directly

Calls 2

getBase64Method · 0.80
updateMethod · 0.45

Tested by

no test coverage detected