replaced sha1 with sha512 for database secrets