ClickHouse/tests/queries/0_stateless/03245_ripemd160.sql
Dergousov Maxim befb3ac172
small fix
2024-09-28 00:20:23 +03:00

13 lines
374 B
SQL

-- Tags: no-fasttest
SELECT HEX(RIPEMD160('The quick brown fox jumps over the lazy dog'));
SELECT HEX(RIPEMD160('The quick brown fox jumps over the lazy cog'));
SELECT HEX(RIPEMD160(''));
SELECT HEX(RIPEMD160('A-very-long-string-that-should-be-hashed-using-ripemd160'));
SELECT HEX(RIPEMD160(toString(avg(number))) )
FROM (SELECT arrayJoin([1, 2, 3, 4, 5]) AS number);