支持 SHA256 的 Gravatar 替代品

Alternative for Gravatar which supports SHA256

在我们的 c# 应用程序中,我们没有使用 MD5,因为它不安全,我们使用的是 SHA256。但是当我们使用 SHA256 时,我们没有从 gravatar 获取任何图像。我的问题是

  1. Gravatar 是否支持 SHA 256?
  2. 什么是支持 SHA256 的 gravatar 的替代品,我们不想安装或包含任何库,因为 gravatar 只需要 URL 来获取图像。

作为 MSalters already mentioned, I don't think it really matters in this use case. You're not doing anything cryptographic, so I don't think there are any issues with MD5 in this scenario. However, if you do specifically want an alternative that supports SHA-256 hashes of emails to get user avatars (though definitely not as popular as gravatar), there's Libravatar. Libravatar's API documentation does state that it supports SHA-256 用于检索头像。