mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 22:12:21 +00:00
6 lines
239 B
SQL
6 lines
239 B
SQL
SET allow_experimental_hash_functions = 1;
|
|
|
|
select number, hashid(number) from system.numbers limit 5;
|
|
select number, hashid(number, 's3cr3t', 16, 'abcdefghijklmnop') from system.numbers limit 5;
|
|
select hashid(1234567890123456, 's3cr3t');
|