summaryrefslogtreecommitdiffstats
path: root/contrib/pgcrypto/expected/md5.out
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pgcrypto/expected/md5.out')
-rw-r--r--contrib/pgcrypto/expected/md5.out45
1 files changed, 45 insertions, 0 deletions
diff --git a/contrib/pgcrypto/expected/md5.out b/contrib/pgcrypto/expected/md5.out
new file mode 100644
index 0000000..1790594
--- /dev/null
+++ b/contrib/pgcrypto/expected/md5.out
@@ -0,0 +1,45 @@
+--
+-- MD5 message digest
+--
+SELECT digest('', 'md5');
+ digest
+------------------------------------
+ \xd41d8cd98f00b204e9800998ecf8427e
+(1 row)
+
+SELECT digest('a', 'md5');
+ digest
+------------------------------------
+ \x0cc175b9c0f1b6a831c399e269772661
+(1 row)
+
+SELECT digest('abc', 'md5');
+ digest
+------------------------------------
+ \x900150983cd24fb0d6963f7d28e17f72
+(1 row)
+
+SELECT digest('message digest', 'md5');
+ digest
+------------------------------------
+ \xf96b697d7cb7938d525a2f31aaf161d0
+(1 row)
+
+SELECT digest('abcdefghijklmnopqrstuvwxyz', 'md5');
+ digest
+------------------------------------
+ \xc3fcd3d76192e4007dfb496cca67e13b
+(1 row)
+
+SELECT digest('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 'md5');
+ digest
+------------------------------------
+ \xd174ab98d277d9f5a5611c2c9f419d9f
+(1 row)
+
+SELECT digest('12345678901234567890123456789012345678901234567890123456789012345678901234567890', 'md5');
+ digest
+------------------------------------
+ \x57edf4a22be3c955ac49da2e2107b67a
+(1 row)
+