MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / idFingerprint

Function idFingerprint

src/core/DeviceDiagnostics.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66QString idFingerprint(const QByteArray& id)
67{
68 if (id.isEmpty())
69 return {};
70
71 return QString::fromLatin1(
72 QCryptographicHash::hash(id, QCryptographicHash::Sha256).toHex().left(12));
73}
74
75QJsonObject deviceToJson(const QAudioDevice& device,
76 const QAudioDevice& selected,

Callers 2

deviceToJsonFunction · 0.85
basicDeviceToJsonFunction · 0.85

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected