mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	This was from before the hex format was available in bytea. Now we can remove the extra explicit encoding/decoding calls and rely on the default output format. Discussion: https://www.postgresql.org/message-id/flat/17dcb4f7-7ac1-e2b6-d5f7-2dfba06cd9ee%40enterprisedb.com
		
			
				
	
	
		
			12 lines
		
	
	
		
			397 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			397 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
| --
 | |
| -- MD5 message digest
 | |
| --
 | |
| 
 | |
| SELECT digest('', 'md5');
 | |
| SELECT digest('a', 'md5');
 | |
| SELECT digest('abc', 'md5');
 | |
| SELECT digest('message digest', 'md5');
 | |
| SELECT digest('abcdefghijklmnopqrstuvwxyz', 'md5');
 | |
| SELECT digest('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 'md5');
 | |
| SELECT digest('12345678901234567890123456789012345678901234567890123456789012345678901234567890', 'md5');
 |