Retrieve the wallet hash from a wallet.dat file

The hash can be used with e.g. hashcat