mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-10 15:57:40 +08:00
pgcrypto already supports key-stretching during symmetric encryption, including the salted-and-iterated method; but the number of iterations was not configurable. This commit implements a new s2k-count parameter to pgp_sym_encrypt() which permits selecting a larger number of iterations. Author: Jeff Janes