pub fn oid_to_sha256(oid: Oid) -> Result<Sha256Hash>
Use oid_to_hash instead - it supports both SHA1 and SHA256