postgresql/contrib/pgcrypto/sql/sha1.sql

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

12 lines
405 B
MySQL
Raw Normal View History

2023-05-09 21:11:15 +00:00
--
-- SHA1 message digest
--
SELECT digest('', 'sha1');
SELECT digest('a', 'sha1');
SELECT digest('abc', 'sha1');
SELECT digest('message digest', 'sha1');
SELECT digest('abcdefghijklmnopqrstuvwxyz', 'sha1');
SELECT digest('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 'sha1');
SELECT digest('12345678901234567890123456789012345678901234567890123456789012345678901234567890', 'sha1');