mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
1abf76e82c
Few cleanups and couple of new things: - add SHA2 algorithm to older OpenSSL - add BIGNUM math to have public-key cryptography work on non-OpenSSL build. - gen_random_bytes() function The status of SHA2 algoritms and public-key encryption can now be changed to 'always available.' That makes pgcrypto functionally complete and unless there will be new editions of AES, SHA2 or OpenPGP standards, there is no major changes planned.
47 lines
1.6 KiB
SQL
47 lines
1.6 KiB
SQL
|
|
SET search_path = public;
|
|
|
|
DROP FUNCTION digest(text, text);
|
|
DROP FUNCTION digest(bytea, text);
|
|
DROP FUNCTION digest_exists(text);
|
|
|
|
DROP FUNCTION hmac(text, text, text);
|
|
DROP FUNCTION hmac(bytea, bytea, text);
|
|
DROP FUNCTION hmac_exists(text);
|
|
|
|
DROP FUNCTION crypt(text, text);
|
|
DROP FUNCTION gen_salt(text);
|
|
DROP FUNCTION gen_salt(text, int4);
|
|
|
|
DROP FUNCTION encrypt(bytea, bytea, text);
|
|
DROP FUNCTION decrypt(bytea, bytea, text);
|
|
DROP FUNCTION encrypt_iv(bytea, bytea, bytea, text);
|
|
DROP FUNCTION decrypt_iv(bytea, bytea, bytea, text);
|
|
DROP FUNCTION cipher_exists(text);
|
|
DROP FUNCTION gen_random_bytes(int4);
|
|
|
|
DROP FUNCTION pgp_sym_encrypt(text, text);
|
|
DROP FUNCTION pgp_sym_encrypt_bytea(bytea, text);
|
|
DROP FUNCTION pgp_sym_encrypt(text, text, text);
|
|
DROP FUNCTION pgp_sym_encrypt_bytea(bytea, text, text);
|
|
DROP FUNCTION pgp_sym_decrypt(bytea, text);
|
|
DROP FUNCTION pgp_sym_decrypt_bytea(bytea, text);
|
|
DROP FUNCTION pgp_sym_decrypt(bytea, text, text);
|
|
DROP FUNCTION pgp_sym_decrypt_bytea(bytea, text, text);
|
|
|
|
DROP FUNCTION pgp_pub_encrypt(text, bytea);
|
|
DROP FUNCTION pgp_pub_encrypt_bytea(bytea, bytea);
|
|
DROP FUNCTION pgp_pub_encrypt(text, bytea, text);
|
|
DROP FUNCTION pgp_pub_encrypt_bytea(bytea, bytea, text);
|
|
DROP FUNCTION pgp_pub_decrypt(bytea, bytea);
|
|
DROP FUNCTION pgp_pub_decrypt_bytea(bytea, bytea);
|
|
DROP FUNCTION pgp_pub_decrypt(bytea, bytea, text);
|
|
DROP FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text);
|
|
DROP FUNCTION pgp_pub_decrypt(bytea, bytea, text, text);
|
|
DROP FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text, text);
|
|
|
|
DROP FUNCTION pgp_key_id(bytea);
|
|
DROP FUNCTION armor(bytea);
|
|
DROP FUNCTION dearmor(text);
|
|
|