How does the wallet store the private key?