md5, sha1, sha256, sha512: add 'auto', and a way to specify default