I would like to create a smart contract that would be able to decrypt some symmetrically encrypted message.
Here is the scenario:
- Party "A" sends a message encrypted with key "123456" to VerifierContract
- Party "B" sends a plain message with key "123456" to VerifierContract
- VerifierContract decrypts "A" message using the key from "B".
- if decrypted message is equal to "B" plain message, then VerifierContract takes action.
Does it make sense?