postgres/contrib/pgcrypto/sql
Álvaro Herrera 749a9e20c9
Add modern SHA-2 based password hashes to pgcrypto.
This adapts the publicly available reference implementation on
https://www.akkadia.org/drepper/SHA-crypt.txt and adds the new hash
algorithms sha256crypt and sha512crypt to crypt() and gen_salt()
respectively.

Author: Bernd Helmle <mailings@oopsware.de>
Reviewed-by: Japin Li <japinli@hotmail.com>
Discussion: https://postgr.es/m/c763235a2757e2f5f9e3e27268b9028349cef659.camel@oopsware.de
2025-04-05 19:17:13 +02:00
..
3des.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00
blowfish.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00
cast5.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00
crypt-blowfish.sql pgcrypto: Detect and report too-short crypt() salts. 2015-10-05 10:06:29 -04:00
crypt-des.sql pgcrypto: Make it possible to disable built-in crypto 2025-01-24 14:25:08 +01:00
crypt-md5.sql Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
crypt-shacrypt.sql Add modern SHA-2 based password hashes to pgcrypto. 2025-04-05 19:17:13 +02:00
crypt-xdes.sql pgcrypto: Detect and report too-short crypt() salts. 2015-10-05 10:06:29 -04:00
des.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00
hmac-md5.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00
hmac-sha1.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00
init.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00
md5.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00
pgp-armor.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00
pgp-compression.sql Fix typos in comments and in one isolation test. 2024-01-02 12:05:41 -05:00
pgp-decrypt.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00
pgp-encrypt-md5.sql pgcrypto: Split off pgp-encrypt-md5 test 2023-11-16 16:16:07 +01:00
pgp-encrypt.sql pgcrypto: Split off pgp-encrypt-md5 test 2023-11-16 16:16:07 +01:00
pgp-info.sql Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
pgp-pubkey-decrypt.sql Fix buffer overrun after incomplete read in pullf_read_max(). 2015-02-02 10:00:45 -05:00
pgp-pubkey-encrypt.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00
pgp-zlib-DISABLED.sql Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
rijndael.sql pgcrypto: Add support for CFB mode in AES encryption 2025-02-14 21:18:37 +01:00
sha1.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00
sha2.sql pgcrypto: Remove explicit hex encoding/decoding from tests 2021-12-08 06:06:22 +01:00