How to solve some strange hash of hack.chat
#1
Sad 
I have a hash algorithm:
Code:
const hash = (password) => {   const sha = crypto.createHash('sha256');   sha.update(password+SALT);   return sha.digest('base64').substr(0, 6); };

But it just uses first 6 bytes after base64.
How can I solve it?
Reply


Messages In This Thread
How to solve some strange hash of hack.chat - by huolongguo10 - 07-27-2022, 05:12 AM