summaryrefslogtreecommitdiffstats
path: root/contrib/pgcrypto/sql/init.sql
blob: 63881879965050a65adf58e558db4c870f47b894 (plain)
1
2
3
4
5
6
7
8
9
10
11
--
-- init pgcrypto
--

CREATE EXTENSION pgcrypto;

-- check error handling
select gen_salt('foo');
select digest('foo', 'foo');
select hmac('foo', 'foo', 'foo');
select encrypt('foo', 'foo', 'foo');