mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-29 03:37:20 +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)
|
||
|
|