Thread: encrypt

encrypt

From
armstpat@comcast.net (George Armstrong)
Date:
Would someone be so kind as to direct me to instructions for using the
encrypt function?  I have searched for a couple of evenings now.  I
would like to understand the ::bytea stuff below.  I've got a ton of
database experience but this stuff looks strange to me.

select encrypt
('srcip'::bytea,'pass'::bytea,'bf'::text)::bytea as
"test" from tbltcplog limit 3;

Thanks in advance.