~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to contrib/pgcrypto/sql/md5.sql

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--
 
2
-- MD5 message digest
 
3
--
 
4
 
 
5
SELECT encode(digest('', 'md5'), 'hex');
 
6
SELECT encode(digest('a', 'md5'), 'hex');
 
7
SELECT encode(digest('abc', 'md5'), 'hex');
 
8
SELECT encode(digest('message digest', 'md5'), 'hex');
 
9
SELECT encode(digest('abcdefghijklmnopqrstuvwxyz', 'md5'), 'hex');
 
10
SELECT encode(digest('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 'md5'), 'hex');
 
11
SELECT encode(digest('12345678901234567890123456789012345678901234567890123456789012345678901234567890', 'md5'), 'hex');
 
12