Files
dotnet-runtime/src/libraries/System.Security.Cryptography.Cng
github-actions[bot]andKevin Jones 2d8e19f188 Change default FeedbackSize for TripleDES internal implementation to 8
In .NET Framework, TripleDESCryptoServiceProvider defaults to a feedback
size of 8, and TripleDESCng defaults to a feedback size of 64. The
static Create by default would return TripleDESCryptoServiceProvider,
thus the TripleDES from Create would have a default feedback size of 8.

This changes the default sizes of TripleDES to behave more
similarly to .NET Framework to make porting CFB code from Framework
easier.

The internal 3DES implementation (and thus
TripleDESCryptoServiceProvider, since that is a wrapper around the
internal implementation) now defaults to a feedback size of 8.
TripleDESCng and user-derived classes from TripleDES will continue to
use a feedback size of 64.


Co-authored-by: Kevin Jones <[email protected]>
2020-10-14 10:25:07 -07:00
..