I want to know the hash of the Daedalus spending password

Is there a way to check from the sqlite(wallet) file?

Or I would like to know the method (algorithm) to convert from password phrase to hash.

thank you