Encrypt private key in local storage.