mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
3f11971916
at end of files.
12 lines
510 B
SQL
12 lines
510 B
SQL
--
|
|
-- SHA1 message digest
|
|
--
|
|
|
|
SELECT encode(digest('', 'sha1'), 'hex');
|
|
SELECT encode(digest('a', 'sha1'), 'hex');
|
|
SELECT encode(digest('abc', 'sha1'), 'hex');
|
|
SELECT encode(digest('message digest', 'sha1'), 'hex');
|
|
SELECT encode(digest('abcdefghijklmnopqrstuvwxyz', 'sha1'), 'hex');
|
|
SELECT encode(digest('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 'sha1'), 'hex');
|
|
SELECT encode(digest('12345678901234567890123456789012345678901234567890123456789012345678901234567890', 'sha1'), 'hex');
|