mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +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');
|