How to get password!

i want to get to get userid and password to see whether it matches the userid and password , but I can't find the API in the document and the password in the database is cryptographic,I want to know the way of encryption

You cannot read the password from the database. We do not store the password but the hash.

The only thing you can do is to verify user and password using checkPassword

Thanks a lot,your answer help me a lot,but i want to know where to download it,I can't find it on the tag of Documentcation,whether it;s becuase i find the wrong place