I would like to encrypt a string with keyA then encrypt the result with keyB then decrypt that result with keyA and finally retrieve original string with keyB.
I am using VB6 and/or VB.net
I would like to encrypt a string with keyA then encrypt the result with keyB then decrypt that result with keyA and finally retrieve original string with keyB.
I am using VB6 and/or VB.net
Use CTR mode encryption such as the one used in Bouncy Castle for .NET. CTR uses XOR as last step, and XOR is commutative.