# extract password hashed in scrypt using hash and salt [closed]

I have the hashed password and its salt. It is encrypted using SCRYPT by firebase.

How can I extract the plain text password from these two?
Or alternatively, how can I re-encrypt or convert them to hash/salt that is readable by passport-local-mongoose plugin? here is an example of what I have at my disposal:

  "hash": "jHyvk2qCPRncEAq5H05JeO4873MIMeyakVMmUXDjRfcdvflDvOXoEn7AhTW0T4f2zb24JYyPrIwTW96C4/iZ+A==",
"salt": "zVzcUzIS+wCC+w=="


## closed as off-topic by e-sushiMay 8 '17 at 15:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "Programming questions are off-topic even if you are writing or debugging cryptographic code. Unless your question is specifically about how the cryptographic algorithm or protocol works, you should look into asking on Stack Overflow instead." – e-sushi
If this question can be reworded to fit the rules in the help center, please edit the question.