How to decrypt encrypted information in Intel SGX


I ran enigma-docker-network, but I have a question. How to decrypt encrypted information when the selected worker is running a computing task in Intel SGX. Can someone answer me? thanks.



As far as I know, in the current testnet version, any encrypted arguments passed in to the callable function will be decrypted automatically by the local enclave instance. These decrypted arguments can be used for computation or returned directly to the callback function.

If you’re developing at the Dapp level, you hopefully shouldn’t need to worry about decrypting the encrypted arguments yourself in order to use them in the callable and callback.