Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] hash计算不正确!没人发现么? #212

Closed
Charles94jp opened this issue Feb 10, 2023 · 2 comments
Closed

[Bug] hash计算不正确!没人发现么? #212

Charles94jp opened this issue Feb 10, 2023 · 2 comments
Labels

Comments

@Charles94jp
Copy link

用了这么久,第一次发现计算会出问题。这基本功能不能乱啊。上线前没有跑测试么?
QAQ
版本:chrome商店最新的2.1.0
问题描述:hash计算和python、其它在线工具计算的结果不一样。
image

# python计算结果
>>> hashlib.md5('123456'.encode()).hexdigest()
'e10adc3949ba59abbe56e057f20f883e'

image

@baiy
Copy link
Owner

baiy commented Feb 10, 2023

image

我这边验证了 结果还是正常的

应该是多次使用后代码处理流程上有bug 如有更多信息麻烦提供一下 谢谢

我这边可以提供一下信息
md5("123456hack666") = a02e2555d5e60d52e5e0a8d5b24fb4f1
ps: 这个a02e2555d5e60d52e5e0a8d5b24fb4f1 图片自动识别出来的 没有仔细对比

@baiy baiy added the bug label Feb 10, 2023
@baiy
Copy link
Owner

baiy commented Feb 10, 2023

@Charles94jp 已经找到原因了 是加盐处理过程中有问题 后续版本修复

baiy added a commit that referenced this issue Feb 10, 2023
@baiy baiy closed this as completed Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants