fireship-io / node-crypto-examples

7 Useful Examples of Cryptography in Node.js
381 stars 143 forks source link

hack.js hacked #4

Open arpansadhu10 opened 2 years ago

arpansadhu10 commented 2 years ago

pasted it into https://www.md5online.org/md5-decrypt.html and got the ans

Marwan1998 commented 2 years ago

so md5 is that weak?

MoElaSec commented 2 years ago

so md5 is that weak?

@Marwan1998 You shouldn't use SHA-1 or MD5 as both are considered insecure.

for MD5 long history of attacks/collisions, you can easily find online. for SHA-1 read about:

LunarMiolk commented 1 year ago

There are some super cool things you can do with exploiting hash collisions, though!

Hashquines are probably one of the more 🤯

Here's a recently published one that I thought was super cool: https://twitter.com/David3141593/status/1573218394358386688?s=20&t=Fbfvek788mosD7K0AKV8zw

MMK21Hub commented 1 year ago

Further reading: https://www.rogdham.net/2017/03/12/gif-md5-hashquine.en