1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-25 21:42:33 +03:00
2001-10-01 16:12:23 +00:00

18 lines
193 B
Plaintext

--
-- init pgcrypto
--
\set ECHO none
-- check for encoding fn's
select encode('foo', 'hex');
encode
--------
666f6f
(1 row)
select decode('666f6f', 'hex');
decode
--------
foo
(1 row)