You can pass in `"sha1"` directly and avoid the extra digest object.