Add variants of digest() and hmac() that accept text inputs.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6d6b3e911cc5be4525ce0bb651aec4320f207040
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-01-07T18:56:09Z
Releases: 7.2.1
Add variants of digest() and hmac() that accept text inputs.
 Marko Kreen says:
This is so obvious that I would like to make it 'official'.

Seems like the theology around bytea<>text casting kept me from
seeing the simple :)

Files

PathChange+/−
contrib/pgcrypto/pgcrypto.sql.in modified +10 −0