MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / bytesToString

Function bytesToString

libminifi/src/utils/EncryptionUtils.cpp:38–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38std::string bytesToString(const Bytes& bytes) {
39 return std::string(reinterpret_cast<const char*>(bytes.data()), bytes.size());
40}
41
42Bytes generateKey() {
43 Bytes key(EncryptionType::keyLength());

Callers 3

decryptFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected