Default to sha1.