A colleague told me that he created a crypto class that implements 4 algorithms:
TripleDESCryptoServiceProvider Class
DESCryptoServiceProvider Class
RC2CryptoServiceProvider Class
He told me that he did, or would, encrypt the other, for example:
- would receive a text, would encrypt with the first algorithm
- would get the encrypted result, and would encrypt with a second algorithm
On hearing this, I find it somewhat strange. I've never heard anything like it before. I researched some terms in English and found nothing. I wondered if this would be more of a hassle in trying to create a new encryption, or if it would be something well thought out that would really be difficult to break.
I think it will not be so performative because it has to process two encryptions. Is using this technique enhances security, or is it correct to choose only one algorithm?