runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Port T:System.Security.Cryptography.DESxx

Open danmoseley opened this issue 10 years ago • 3 comments

Okayed by the crypto board as it's so heavily used but it must be [EditorBrowsable(Never)] to strongly discourage its use.

T:System.Security.Cryptography.DES
T:System.Security.Cryptography.DESCryptoServiceProvider

Usage is up to 6% of the tier 1.

danmoseley avatar Aug 24 '16 22:08 danmoseley

Is there any other solution to resolve des problem before 1.2.0? I'm migrating an old app to dotnet core which has a module that will provide encrypt strings (using des algorithm) to its sub systems. The problem is that these sub systems can't be migrated to dotnet core by now, so i have to use des algorithm to garentee this is compatible with those sub systems. much thanks...

vincentshow avatar Oct 12 '16 12:10 vincentshow

Is it possible to change to TripleDES? That is available now and like DES it derives from SymmetricAlgorithm so the programming model is the same. Also Aes (also SymmetricAlgorithm) is considered more secure so that is another choice.

steveharter avatar Oct 12 '16 14:10 steveharter

Sorry, I can't change to TripleDES, because the sub systems must use des algorithm when they consuming the encrypted strings send by current app before they're migrated to dotnet core . However, as this can't be resolved in backend I try to search solutions using front techs, javascript for example. Fortunately, there is an famous library called crypto-js. Thank you, anyway

vincentshow avatar Oct 13 '16 03:10 vincentshow