mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
8 lines
271 B
MySQL
8 lines
271 B
MySQL
|
DROP TABLE IF EXISTS encryption_test;
|
||
|
CREATE TABLE encryption_test (i Int, s String Codec(Encrypted('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;
|