This is kind of very basic question. I have searched for help regarding this but couldn't find any concrete answer to it. Therefore i am asking it specifically here.
The use case is, i want to find the weak password referring to the list of hashes available. For that i am have to compare the hash of each known/common words with the available hash. All this is done in C++ for Unix using openssl/blowfish.h
However, to create the hash of this guess word needs to be generated using the same salt that was used for the password hashes.
My question here is how can i extract the salt from password hashes. Suppose, following is my hash:
$2a$10$FTx8T5QrEbxYVe.NJ6iOhuei.V9qgl60xF8/8s7iZRDIlOl.ibDEW
What is salt in this? or how i can achieve the goal? Any pointer would be great!!
Thanks in Advance.