ClickHouse/tests/queries/0_stateless/03245_ripemd160.sql

13 lines
374 B
MySQL
Raw Normal View History

2024-09-27 20:57:31 +00:00
-- 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))) )
2024-09-27 21:20:23 +00:00
FROM (SELECT arrayJoin([1, 2, 3, 4, 5]) AS number);