☰
Debian Codegraph
@
18.6-3
18.4-1
/
/
contrib
/
pgcrypto
/
sql
/
init.sql
☽
☼
contrib/pgcrypto/sql/init.sql
code
plain
raw
PostgreSQL
Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group; Portions Copyright (c) 1994, The Regents of the University of California
debian/copyright
1
--
2
-- init pgcrypto
3
--
4
5
CREATE EXTENSION pgcrypto;
6
7
-- check error handling
8
select gen_salt('foo');
9
select digest('foo', 'foo');
10
select hmac('foo', 'foo', 'foo');
11
select encrypt('foo', 'foo', 'foo');