1/* contrib/pgcrypto/pgcrypto--unpackaged--1.0.sql */ 2 3-- complain if script is sourced in psql, rather than via CREATE EXTENSION 4\echo Use "CREATE EXTENSION pgcrypto FROM unpackaged" to load this file. \quit 5 6ALTER EXTENSION pgcrypto ADD function digest(text,text); 7ALTER EXTENSION pgcrypto ADD function digest(bytea,text); 8ALTER EXTENSION pgcrypto ADD function hmac(text,text,text); 9ALTER EXTENSION pgcrypto ADD function hmac(bytea,bytea,text); 10ALTER EXTENSION pgcrypto ADD function crypt(text,text); 11ALTER EXTENSION pgcrypto ADD function gen_salt(text); 12ALTER EXTENSION pgcrypto ADD function gen_salt(text,integer); 13ALTER EXTENSION pgcrypto ADD function encrypt(bytea,bytea,text); 14ALTER EXTENSION pgcrypto ADD function decrypt(bytea,bytea,text); 15ALTER EXTENSION pgcrypto ADD function encrypt_iv(bytea,bytea,bytea,text); 16ALTER EXTENSION pgcrypto ADD function decrypt_iv(bytea,bytea,bytea,text); 17ALTER EXTENSION pgcrypto ADD function gen_random_bytes(integer); 18ALTER EXTENSION pgcrypto ADD function pgp_sym_encrypt(text,text); 19ALTER EXTENSION pgcrypto ADD function pgp_sym_encrypt_bytea(bytea,text); 20ALTER EXTENSION pgcrypto ADD function pgp_sym_encrypt(text,text,text); 21ALTER EXTENSION pgcrypto ADD function pgp_sym_encrypt_bytea(bytea,text,text); 22ALTER EXTENSION pgcrypto ADD function pgp_sym_decrypt(bytea,text); 23ALTER EXTENSION pgcrypto ADD function pgp_sym_decrypt_bytea(bytea,text); 24ALTER EXTENSION pgcrypto ADD function pgp_sym_decrypt(bytea,text,text); 25ALTER EXTENSION pgcrypto ADD function pgp_sym_decrypt_bytea(bytea,text,text); 26ALTER EXTENSION pgcrypto ADD function pgp_pub_encrypt(text,bytea); 27ALTER EXTENSION pgcrypto ADD function pgp_pub_encrypt_bytea(bytea,bytea); 28ALTER EXTENSION pgcrypto ADD function pgp_pub_encrypt(text,bytea,text); 29ALTER EXTENSION pgcrypto ADD function pgp_pub_encrypt_bytea(bytea,bytea,text); 30ALTER EXTENSION pgcrypto ADD function pgp_pub_decrypt(bytea,bytea); 31ALTER EXTENSION pgcrypto ADD function pgp_pub_decrypt_bytea(bytea,bytea); 32ALTER EXTENSION pgcrypto ADD function pgp_pub_decrypt(bytea,bytea,text); 33ALTER EXTENSION pgcrypto ADD function pgp_pub_decrypt_bytea(bytea,bytea,text); 34ALTER EXTENSION pgcrypto ADD function pgp_pub_decrypt(bytea,bytea,text,text); 35ALTER EXTENSION pgcrypto ADD function pgp_pub_decrypt_bytea(bytea,bytea,text,text); 36ALTER EXTENSION pgcrypto ADD function pgp_key_id(bytea); 37ALTER EXTENSION pgcrypto ADD function armor(bytea); 38ALTER EXTENSION pgcrypto ADD function dearmor(text); 39