Magento Hash Converter

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,257
Reaction score
4,987
Credits
12,118
After many hours of research and combing through the source of a few libraries. I have discovered a method to convert Magento2 hashes to the correct $argon2id format. This is a quick and dirty script that does that. Allowing the hashes to be cracked with other programs that support the traditional $argon2id format. Whereas previously they could only be cracked with something like https://github.com/cyclone-github/magento_cracker.

This is what a Magento2 hash will look like before being converted:
ab5ebf8d273b085b6a60336198e0a5a2090fdc3e0606a678315c7274ab06e046:5PiKJRn28bBKoFMopMaaKuV47aJ6GzVg:3_32_2_67108864

This is what the hash will look like after the conversion is done:
$argon2id$v=19$m=65536,t=2,p=1$NVBpS0pSbjI4YkJLb0ZNbw$q16/jSc7CFtqYDNhmOClogkP3D4GBqZ4MVxydKsG4EY

Hope you guys find this helpful.
 
Top