zhujt20 commented on code in PR #213:
URL: https://github.com/apache/tsfile/pull/213#discussion_r1732398027
##########
java/tsfile/src/main/java/org/apache/tsfile/common/conf/TSFileConfig.java:
##########
@@ -136,6 +140,15 @@ public class TSFileConfig implements Serializable {
/** Data compression method, TsFile supports UNCOMPRESSED, SNAPPY, ZSTD or
LZ4. */
private CompressionType compressor = CompressionType.LZ4;
+ /** encryptFlag, this should be false by default */
+ private String encryptFlag = "false";
+
+ /** encryptKey, this should be null by default */
+ private String encryptKey = "abcdefghijklmnop";
+
+ /** encryptType, this should be null by defalut */
+ private String encryptType = "UNENCRYPTED";
+
Review Comment:
Actually any other encryptType except "SM4128" and "AES128" will be
translated into "UNENCRYPTED" while constructing the encryptor and decryptor.
To remind users of whether the encrypt function is open, I think encryptFlag is
still necessary.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]