> For the complete documentation index, see [llms.txt](https://docs.ellipticpir.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ellipticpir.com/technology/reply-decryption.md).

# Reply Decryption

The server reply is nested encrypted message with the depth equal to the dimension `d` of the dataset, the reply decryption process you need to decrypt the server's message for `d` times.

`decrypted = Dec(..Dec(reply)..)`

The decrypted will be the data you requested with some padding. The library automatically remove the padding and returns the desired result.
