- KEM (Key Encapsulation Mechanism): DHKEM_P256_HKDF_SHA256
- KDF (Key Derivation Function): HKDF_SHA256
- AEAD (Authenticated Encryption with Associated Data): CHACHA20_POLY1305
- Mode: BASE
Headers
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma
separated.
Path Parameters
ID of the wallet to export.
Body
Currently only supports
HPKE
(Hybrid Public Key Encryption).Base64-encoded public key of the recipient who will decrypt the private key. This key must be
generated securely and kept confidential. The public key sent should be in DER or PEM format. It
is recommended to use DER format.
Response
Will be
HPKE
to indicate Hybrid Public Key Encryption was used.Base64-encoded encrypted private key. The private key format depends on the wallet type: base58
for Solana wallets, hex for EVM wallets.
Base64-encoded ephemeral public key used in the HPKE encryption process. Required for decryption.