# 什么是私钥、助记词和密码？

**私钥**\
私钥是由字母和数字组成的64位长度的十六进制字符串。创建钱包后，输入密码即可导出私钥，一个账户只有一个私钥并且不能修改。通常一个钱包中私钥和公钥是成对出现的，有了私钥，可以通过一定的算法生成公钥，再通过公钥经过一定的算法生成地址，这个过程是不可逆的。

在任意钱包上，通过导入私钥并设置一个新的密码就可以把之前的A钱包的资产导入B钱包。比如手机丢失，只需导入私钥就可以恢复资产。

**助记词**\
助记词的出现是由于私钥由64位字符串组成，不方便记录且容易抄错。为了方便用户记忆和记录，简化成12个单词组成的助记词，每个单词之间有一个空格，助记词和私钥具有同样的功能，即只要输入助记词并设置一个新的密码，就可以导入钱包。 和私钥一样，一个钱包只有一套助记词且不能修改。

**钱包密码**\
在TokenPocket创建钱包时，需要设置一个密码，要求不少于8个字符。 钱包密码主要用于管理钱包，例如转账时需要输入密码；用私钥/助记词导入钱包时，必须输入钱包密码。 密码可以进行修改或重置。如果原密码忘记，可以用私钥或是助记词导入钱包，同时设置新的密码。

可以以银行账户进行类比以便区分：\
私钥=银行卡号+银行卡密码 \
助记词=银行卡号+银行卡密码\
密码=银行卡密码&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.tokenpocket.pro/cn/the-basics/what-is-a-private-key-mnemonic-and-password.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
