Based on the definition of `digest_algorithm` I don't see how it would ever be `nil` or `false`, so trying to default it here isn't needed.