Okay here are my requirements.
I need a solution that can do the following.
Lets say I have an encrypted piece of text with the value "20".
and I have UserA and UserB
I give UserA the Keys (/5 and /2), meaning divide by 5 and divide by 2. I give UserB the Key (/10 and /1) meaning divide by 10 and divide by 1.
using both operations, both UserA and UserB can arrive at the same result the un-encrypted text of "2".
The first operation could be their "SessionID, the second could be a corresponding key for the Session". Two different users, using two different "Keys" can decrypt the ciphertext using two different but equal operations.
Is there something similar in cryptography where you can provide different keys or functions and arrive at the same result and is cryptographically secure.