开发者

SQL Server HashBytes

Can you unhash a value that you have stored in the DB?

So if I generate and store a value like this

SELECT HashBytes('MD5', 'HelloWorld')

Can I use a function to unhash it so that I can get the original value backout?

Thanks,

开发者_Python百科S


Unfortunately not. If you are trying to check if a password or pass phrase is correct, you would only be able to encrypt what you've received, and then compare the two results. If they differ, then obviously the wrong information has been passed in.


No. Cryptographic hashes are by definition one way.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜