forked from halo-dev/halo
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: replace md5 with sha256 for commenter email hash (halo-dev#…
…7092) #### What type of PR is this? /kind feature /kind improvement #### What this PR does / why we need it: 本次PR对系统中用于电子邮件哈希的算法进行了升级。原先使用的是MD5算法,现在替换为了更安全的SHA-256算法。这一变更提高了数据的安全性,降低了电子邮件被破解的风险。 #### Which issue(s) this PR fixes: 未指定具体问题编号,但解决了潜在的安全隐患。 #### Special notes for your reviewer: 在替换哈希算法的过程中,我已经确保了代码的兼容性和性能。建议审查者在合并前进行全面的测试,以确保新算法的正确性和系统的稳定性。 #### Does this PR introduce a user-facing change? ```release-note 增强评论邮箱哈希算法(SHA256) ```
- Loading branch information
1 parent
348e7c9
commit 0748ae4
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters