Skip to content

Commit

Permalink
Merge pull request #368 from zama-ai/docs/decrypt
Browse files Browse the repository at this point in the history
Docs/decrypt
  • Loading branch information
jatZama authored Apr 22, 2024
2 parents 49fd842 + 87a238a commit d95cc5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file added docs/fundamentals/asyncDecrypt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/fundamentals/decrypt.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

We allow explicit decryption requests for any encrypted type. The values are decrypted with the network private key (the threshold decryption protocol is in the works).

![](asyncDecrypt.png)

### Example

The decryption operation is asynchronous. To use it, your contract must extend the `OracleCaller` contract. This will import automatically the `Oracle` solidity library as well. See the following example:
Expand Down

0 comments on commit d95cc5c

Please sign in to comment.