Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dotnet/runtime
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 78740be
Choose a base ref
...
head repository: dotnet/runtime
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2d8e19f
Choose a head ref
  • 1 commit
  • 8 files changed
  • 2 contributors

Commits on Oct 14, 2020

  1. 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]>
    github-actions[bot] and vcsjones authored Oct 14, 2020
    Configuration menu
    Copy the full SHA
    2d8e19f View commit details
    Browse the repository at this point in the history
Loading