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

    Function decryptWithPrivateKey

    • Decrypt data that was encrypted with the DLP's public key using platform-appropriate cryptography

      Parameters

      • encryptedData: string

        The encrypted data

      • privateKey: string

        The private key corresponding to the public key used for encryption

      • platformAdapter: VanaPlatformAdapter

        The platform adapter for crypto operations

      Returns Promise<string>

      The decrypted data