MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getMethodName

Function getMethodName

src/Compression/CompressionCodecEncrypted.cpp:45–52  ·  view source on GitHub ↗

Get string name for method. Return empty string for undefined Method

Source from the content-addressed store, hash-verified

43
44/// Get string name for method. Return empty string for undefined Method
45String getMethodName(EncryptionMethod Method)
46{
47 if (Method == AES_128_GCM_SIV)
48 return "AES_128_GCM_SIV";
49 if (Method == AES_256_GCM_SIV)
50 return "AES_256_GCM_SIV";
51 return "";
52}
53
54/// Get method code (used for codec, to understand which one we are using)
55uint8_t getMethodCode(EncryptionMethod Method)

Callers 6

getMethodCodeFunction · 0.85
methodKeySizeFunction · 0.85
getMethodFunction · 0.85
registerEncryptionCodecFunction · 0.85
getKeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected