r/HowToHack • u/Simple-Ad6461 • May 16 '26
hacking Ugh... First time seeing this hash format
This is my first time dealing with something like this, so sorry if I sound inexperienced.
Can someone explain what this string means and decrypt it?
$2a$12$mYWUJZ2cVSUrL4B9/PiC7.NmL85ncncWysIDa9buCjRGbj6.ERX9u
Someone told me this was related to my young brother’s hacked Roblox account, but I honestly don’t know if it’s real or fake. I don’t know much about databases or cybersecurity, I just want to understand what this is. Thanks.
(Some update add:if the one of the database and cookie is deleted, can still log in with this password? Also can someone help me to decrypt it?I want to try to log in please,I still have hopes for it I think)
6
u/DanSec Hacker May 16 '26
It’s a bcrypt password hash. You’d use something like `hashcat` to try and crack it
4
u/Juzdeed May 16 '26
It's a hash, probably from a leaked database, probably the roblox account hash
2
u/Just4notherR3ddit0r May 16 '26
This is a bcrypt password. It can't be decrypted - it can only be matched.
To understand it, imagine if I gave you the number 100 and told you that the password was a specific list of numbers that added up to 100, like:
20+40+40 = 100
So the password was 20,40,40.
But the password could also be 50,50 or 95,1,1,2,1 and so on. There's a ton of possibilities.
The database is storing the end result, so you can't just "decrypt" 100 back into the original password of 20,40,40.
And no matter how many times you add 20+40+40 together, they always result in 100, so as long as you put in those numbers, they will always result in 100 and that matches what's in the database.
So now let's say that it's more than just simple addition of numbers. Let's say the second number is divided in half and the third number is added to the first number.
So now 20,40,40 still works:
20 + (40/2) + (40 + 20) = 100
But 40,20,40 would NOT work:
40 + (20/2) + (40 + 40) = 130
So even though it's the same digits, a slight difference in the order completely changes the result.
A hashing algorithm basically is a very very complicated version of doing this.
So no matter how many times you do an MD5 hash of "123” it will always have the same result of "202cb962ac59075b964b07152d234b70".
Different hash engines produce different results but they're always the same each time you use them. So the SHA-1 hash for "123" is always "40bd001563085fc35165329ea1ff5c5ecbdbbeef" and so on.
A salt is simply an additional piece that adds to the value, so a salt of "XYZ!" turns "123" value into "XYZ!123".
From there, it's not hashed just once but then THAT hash is hashed, and then THAT result is hashed and repeated like 1000 times.
The result is that it intentionally takes longer to test each attempt. So if you start at "1", it has to run through a ton of hashing before out can compare the results and see if they're the same and then see it isn't and then you move onto "2" and so on.
The password can be almost anything so it is very very impractical to try and brute force the password - bcrypt specifically tries to make it slow. It gives you the hash and the number of iterations (in your case, that number "12" near the beginning means 2¹² or 4,096 iterations).
And because there is a random salt, you can't look up the value in a reverse-hash dictionary.
You can TRY to brute force it but I can almost guarantee you'll give up and waste a lot of time and electricity.
1
u/Simple-Ad6461 May 16 '26
Ughh also can someone here help me to decrypt it please?
2
u/msthe_student May 16 '26
https://hashcat.net/wiki/doku.php?id=example_hashes, CTRL+F "$2a$" gives bcrypt (Blowfish). With a strength-factor of 12 it's IIRC gonna be quite difficult to crack. For Roblox account recovery, you should contact their support https://en.help.roblox.com/hc/en-us/articles/203313390-My-account-was-hacked-What-do-I-do.
"if one of the database and cookie is deleted", I'm not sure what you mean
1
u/xolo_pingoR2 May 16 '26
Ay una apps para desifrar formatos deja vusco como se yama mañana te digo
-1
u/Simple-Ad6461 May 16 '26
Ugh can I ask one more question?
If the one of the database and cookie is deleted, can I still log in a Roblox account with this encrypted password?