1 /* contrib/pgcrypto/pgcrypto--1.2--1.3.sql */
3 -- complain if script is sourced in psql, rather than via ALTER EXTENSION
4 \echo Use "ALTER EXTENSION pgcrypto UPDATE TO '1.3'" to load this file. \quit
6 ALTER FUNCTION digest(text, text) PARALLEL SAFE;
7 ALTER FUNCTION digest(bytea, text) PARALLEL SAFE;
8 ALTER FUNCTION hmac(text, text, text) PARALLEL SAFE;
9 ALTER FUNCTION hmac(bytea, bytea, text) PARALLEL SAFE;
10 ALTER FUNCTION crypt(text, text) PARALLEL SAFE;
11 ALTER FUNCTION gen_salt(text) PARALLEL SAFE;
12 ALTER FUNCTION gen_salt(text, int4) PARALLEL SAFE;
13 ALTER FUNCTION encrypt(bytea, bytea, text) PARALLEL SAFE;
14 ALTER FUNCTION decrypt(bytea, bytea, text) PARALLEL SAFE;
15 ALTER FUNCTION encrypt_iv(bytea, bytea, bytea, text) PARALLEL SAFE;
16 ALTER FUNCTION decrypt_iv(bytea, bytea, bytea, text) PARALLEL SAFE;
17 ALTER FUNCTION gen_random_bytes(int4) PARALLEL SAFE;
18 ALTER FUNCTION gen_random_uuid() PARALLEL SAFE;
19 ALTER FUNCTION pgp_sym_encrypt(text, text) PARALLEL SAFE;
20 ALTER FUNCTION pgp_sym_encrypt_bytea(bytea, text) PARALLEL SAFE;
21 ALTER FUNCTION pgp_sym_encrypt(text, text, text) PARALLEL SAFE;
22 ALTER FUNCTION pgp_sym_encrypt_bytea(bytea, text, text) PARALLEL SAFE;
23 ALTER FUNCTION pgp_sym_decrypt(bytea, text) PARALLEL SAFE;
24 ALTER FUNCTION pgp_sym_decrypt_bytea(bytea, text) PARALLEL SAFE;
25 ALTER FUNCTION pgp_sym_decrypt(bytea, text, text) PARALLEL SAFE;
26 ALTER FUNCTION pgp_sym_decrypt_bytea(bytea, text, text) PARALLEL SAFE;
27 ALTER FUNCTION pgp_pub_encrypt(text, bytea) PARALLEL SAFE;
28 ALTER FUNCTION pgp_pub_encrypt_bytea(bytea, bytea) PARALLEL SAFE;
29 ALTER FUNCTION pgp_pub_encrypt(text, bytea, text) PARALLEL SAFE;
30 ALTER FUNCTION pgp_pub_encrypt_bytea(bytea, bytea, text) PARALLEL SAFE;
31 ALTER FUNCTION pgp_pub_decrypt(bytea, bytea) PARALLEL SAFE;
32 ALTER FUNCTION pgp_pub_decrypt_bytea(bytea, bytea) PARALLEL SAFE;
33 ALTER FUNCTION pgp_pub_decrypt(bytea, bytea, text) PARALLEL SAFE;
34 ALTER FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text) PARALLEL SAFE;
35 ALTER FUNCTION pgp_pub_decrypt(bytea, bytea, text, text) PARALLEL SAFE;
36 ALTER FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text, text) PARALLEL SAFE;
37 ALTER FUNCTION pgp_key_id(bytea) PARALLEL SAFE;
38 ALTER FUNCTION armor(bytea) PARALLEL SAFE;
39 ALTER FUNCTION armor(bytea, text[], text[]) PARALLEL SAFE;
40 ALTER FUNCTION dearmor(text) PARALLEL SAFE;
41 ALTER FUNCTION pgp_armor_headers(text) PARALLEL SAFE;