Vana SDK - v0.1.0
    Preparing search index...

    Function decryptWithWalletPrivateKey

    • Decrypt data with a wallet's private key using platform-appropriate cryptography

      Parameters

      • encryptedData: string

        The encrypted data

      • privateKey: string

        The private key for decryption

      • platformAdapter: VanaPlatformAdapter

        The platform adapter for crypto operations

      Returns Promise<string>

      The decrypted data as string