LogoLogo
X👾💡🎒
Documentación de Soporte
  • Support Docs
  • Technical Docs
  • API Docs
Documentación de Soporte
  • Comienza Aquí
    • Descargas
  • Exchange
    • Account Functions
      • Cambio de Correo Electrónico
      • Órdenes de Take Profit y Stop Loss (TP/SL)
      • Exportar Historial de Trading(CSV)
      • Tipos de Órdenes y Ejecuciones
      • Generar Claves API para Backpack Exchange
    • Verificación de Identidad
      • Verificación de Identidad KYC Pendiente
      • Cómo Verificar la Identidad de la Cuenta
        • Crear una Nueva Cuenta
        • Verificar Identidad (KYC)
      • Regiones Soportadas
    • Depósitos y Retiros
      • Incidencias en Depósitos y Retiros
      • Cómo Depositar
      • Cómo Retirar
      • Comisiones de Retiro
    • Inicio de Sesión y Seguridad
      • Requisitos de Identidad de la Cuenta
      • Restablecer Contraseña
      • Código OTP (One Time Pass)
      • Restablecer 2FA
      • Sospecho de un Acceso No Autorizado a Mi Cuenta
      • Solucionar problemas de conectividad
    • Preguntas Frecuentes sobre los Productos
      • Spot Trading FAQs
      • Lend/Borrow FAQs
    • Programs
      • Puntos
      • Referidos
      • Programa de Afiliados
        • Compartir comisiones de forma flexible
      • VIP
      • Programa Market Maker
      • Aplicación para el Listado de un Token
      • Programa de Recompensas por Errores (Bug Bounty)
    • Comisiones de Trading
    • API & Developer Docs
      • Clientes de API
      • Guía de la API de Backpack Exchange en Python
  • Wallet
    • ¿Qué es Backpack Wallet?
    • Comenzar ahora
      • Navegadores y Plataformas Soportados
      • Importar/Recuperar Billetera
    • Acciones
      • Intercambiar Tokens
      • Referir, Intercambiar y Ganar
      • Stake SOL
      • SOL/ETH Bridge
      • Asegurar NFTs
      • Agregar Redes
      • Conectar una Billetera de Hardware
      • Multi Firma
      • Direcciones RPC Personalizadas
      • Añadir Testnets de Desarrollo
      • Formulario de Solicitud de Colaboración
    • Solución de problemas
      • Ocultar NFTs Spam
      • Ocultar Tokens
      • Problemas al Cargar la Wallet
      • Ver frases secretas de recuperación y claves privadas
    • Documentación Técnica
      • Deeplinks
        • Provider Methods
          • Connect
          • Disconnect
          • SignAndSendTransaction
          • SignAllTransactions
          • SignTransaction
          • SignMessage
        • Other Methods
          • Browse
        • Handling Sessions
        • Specifying Redirects
        • Encryption
        • Limitations
  • Reportar un Problema o Error
    • Exchange
    • Billetera
  • Legal
    • General Legal
      • User Agreement
      • Privacy Policy
      • Cookie Policy
    • VARA Disclosures
      • Virtual Asset Standards
      • VARA License Information
      • Risk Disclosures
      • Price Quotes
      • Exchange Trading Rules
      • Complaints
      • Available Digital Assets
    • UK Crypto Regulations & Risk Disclosure
    • Backpack Wallet
      • Terms and Conditions
      • Privacy Notice
Powered by GitBook

@ 2025 Backpack Exchange

On this page
  • Encryption & Decryption Workflow
  • Encryption Resources
Export as PDF
  1. Wallet
  2. Documentación Técnica
  3. Deeplinks

Encryption

PreviousSpecifying RedirectsNextLimitations

Deeplinks are encrypted using symmetric key encryption generated from a . While deeplink sessions will be created in plaintext, an encrypted channel will be created to prevent session tokens from getting hijacked.

Encryption & Decryption Workflow

Backpack deeplinks are encrypted with the following workflows:

Connect

  1. [dapp]: On the initial connect deeplink, apps should include a dapp_encryption_public_key query parameter. It's recommended to create a new x25519 keypair for every session started with connect. In all methods, the public key for this keypair is referred to as dapp_encryption_public_key.

  2. [backpack]: Upon handling a connect deeplink, Backpack will also generate a new x25519 keypair.

    • Backpack will return this public key as wallet_encryption_public_key in the connect response.

    • Backpack will create a secret key using Diffie-Hellman with dapp_encryption_public_key and the private key associated with wallet_encryption_public_key.

    • Backpack will locally store a mapping of dapp_encryption_public_key to shared secrets for use with decryption in subsequent deeplinks.

  3. [dapp]: Upon receiving the connect response, the dapp should create a shared secret by using Diffie-Hellman with wallet_encryption_public_key and the private key associated with dapp_encryption_public_key. This shared secret should then be used to decrypt the data field in the response. If done correctly, the user's public key will be available to share with the dapp inside the data JSON object.

Subsequent Deeplinks

  1. [dapp]: For any subsequent methods (such as and ), apps should send a dapp_encryption_public_key (the public key side of the shared secret) used with Backpack along with an encrypted payload object.

  2. [backpack]: Upon approval, Backpack will encrypt the signed response as a JSON object with the encryption sent as a data= query param.

  3. [dapp]: Upon receiving the deeplink response, apps should decrypt the object in the data= query parameter to view the signature.

Encryption Resources

To learn more about encryption and decryption, please refer to the following libraries:

JavaScript

iOS

Android

Diffie-Hellman key exchange
SignAndSendTransaction
SignMessage
TweetNaCl.js
TweetNaCl SwiftWrap
Tink
TweetNaCl Java