There is a function and an aggregate created in psql for PE that uses MD5. These must be replaced with SHA1 variants.