ClickHouse/tests/queries/0_stateless/03222_ripeMD160.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
398 B
MySQL
Raw Normal View History

-- Tags: no-fasttest
2024-08-20 22:17:40 +00:00
-- Ouput can be verified using: https://emn178.github.io/online-tools/ripemd-160/
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('CheREpaha1512'));
SELECT hex(ripeMD160('A-very-long-string-that-should-be-hashed-using-ripeMD160'));