Hello everyone!
I’m working on an application that requires the following flow:
- A tag is programmed with a private key and generates an AES-encrypted message when tapped.
- The canister receives this encrypted message and needs to decrypt it using the same key .
The challenge I’m facing is that I cannot securely store the private key in the canister, since it’s not protected from node providers.
While I could decrypt the message on an external server, my goal is to perform the decryption within the canister itself.
Does anyone have suggestions on how to achieve this securely?
Thanks in advance!