Use SHA-1 for non-sensitive digests by default
#31651

eugeneius wants to merge eugeneius:use_sha1_digests into rails:master

We do not currently have an analysis of these two commits