2021-09-12 12:35:27 +00:00
|
|
|
-- Tags: no-fasttest
|
|
|
|
-- Tag no-fasttest: Depends on OpenSSL
|
|
|
|
|
2021-07-30 09:12:33 +00:00
|
|
|
DROP TABLE IF EXISTS encryption_test;
|
2021-09-13 08:25:36 +00:00
|
|
|
CREATE TABLE encryption_test (i Int, s String Codec(AES_128_GCM_SIV)) ENGINE = MergeTree ORDER BY i;
|
|
|
|
|
|
|
|
INSERT INTO encryption_test VALUES (1, 'Some plaintext');
|
|
|
|
SELECT * FROM encryption_test;
|
|
|
|
|
|
|
|
DROP TABLE encryption_test;
|
|
|
|
|
|
|
|
CREATE TABLE encryption_test (i Int, s String Codec(AES_256_GCM_SIV)) ENGINE = MergeTree ORDER BY i;
|
2021-07-30 09:12:33 +00:00
|
|
|
|
|
|
|
INSERT INTO encryption_test VALUES (1, 'Some plaintext');
|
|
|
|
SELECT * FROM encryption_test;
|
|
|
|
|
|
|
|
DROP TABLE encryption_test;
|