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

Function base64_length

encrypt-config/tests/ConfigFileEncryptorTests.cpp:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26namespace {
27size_t base64_length(size_t unencoded_length) {
28 return (unencoded_length + 2) / 3 * 4;
29}
30
31bool check_encryption(const ConfigFile& test_file, const std::string& property_name, size_t original_value_length) {
32 utils::optional<std::string> encrypted_value = test_file.getValue(property_name);

Callers 2

check_encryptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected