Encrypt Wallet
ordnet_security_encrypt_walletEncrypt a WIF private key with AES-256-GCM to create a securely stored wallet. Decrypt it later with the same password using ordnet_wallet_init.
Instructions
Encrypt a WIF private key with AES-256-GCM.
Use this to create an encrypted wallet that can be stored safely. The encrypted data can later be decrypted with ordnet_wallet_init with the password.
Args:
wif (string): WIF private key to encrypt
password (string): Strong password (min 12 chars)
Returns: { encrypted: { iv, data, tag, salt } }
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wif": "<wif>",
"password": "<password>"
},
"name": "ordnet_security_encrypt_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wif | Yes | WIF private key to encrypt | |
| password | Yes | Strong password for encryption |