repo.or.cz
/
pgsql.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Revert commit 66c0185a3 and follow-on patches.
[pgsql.git]
/
contrib
/
pgcrypto
/
sql
/
pgp-encrypt-md5.sql
blob
201636c82099886938fec719ecd5d0e408798df2
1
--
2
-- PGP encrypt using MD5
3
--
4
5
select pgp_sym_decrypt(
6
pgp_sym_encrypt('Secret.', 'key', 's2k-digest-algo=md5'),
7
'key', 'expect-s2k-digest-algo=md5');