mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 11:06:51 +02:00
12 lines
207 B
Plaintext
12 lines
207 B
Plaintext
|
--
|
||
|
-- PGP encrypt using MD5
|
||
|
--
|
||
|
select pgp_sym_decrypt(
|
||
|
pgp_sym_encrypt('Secret.', 'key', 's2k-digest-algo=md5'),
|
||
|
'key', 'expect-s2k-digest-algo=md5');
|
||
|
pgp_sym_decrypt
|
||
|
-----------------
|
||
|
Secret.
|
||
|
(1 row)
|
||
|
|