Change default hash to SHA-256.
Merge pull request #2719 from lgarron/sha256

Change the template hash function to SHA-256.