-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update [Alg].Create() samples for 3DES/RC2. #8384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones Issue DetailsThis updates TripleDES/3DES and RC2 to match the changes done for DES in #8227, namely:
The samples were all copied from their DES versions, but with the following transformations: 3DES:
RC2:
Fixes #8140.
|
@gewarren https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.tripledescryptoserviceprovider?view=net-7.0 is still showing examples from before this change. Would you happen to know why? 😄 |
@bartonjs It doesn't look like you updated those examples: snippets/cpp/VS_Snippets_CLR/Cryptography.3DESCSP.CreateEncryptor.File/CPP/fileexample.cpp snippets/cpp/VS_Snippets_CLR/Cryptography.3DESCSP.CreateEncryptor.Memory/CPP/memoryexample.cpp |
Ah. That would, of course, do it. |
This updates TripleDES/3DES and RC2 to match the changes done for DES in #8227, namely:
The samples were all copied from their DES versions, but with the following transformations:
3DES:
RC2:
Fixes #8140.