summaryrefslogtreecommitdiffstats
path: root/contrib/pgcrypto/sql/sha1.sql
blob: 6d1f24ebf3e5df0baed49239c8fd8289128f5887 (plain)
1
2
3
4
5
6
7
8
9
10
11
--
-- 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');