Skip to content

Added link in AesManaged to article warning of timing vulnerabilities… #2609

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

Merged
merged 2 commits into from
Mar 2, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions xml/System.Security.Cryptography/AesManaged.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
> [!NOTE]
> If the Windows security policy setting for Federal Information Processing Standards (FIPS)-compliant algorithms is enabled, using this algorithm throws a <xref:System.Security.Cryptography.CryptographicException>.


> [!NOTE]
> Microsoft believes that it's no longer safe to decrypt data encrypted with the Cipher-Block-Chaining (CBC) mode of symmetric encryption (which is the default Mode for this class) when verifiable padding has been applied without first ensuring the integrity of the ciphertext, except for very specific circumstances. [Read more about timing vulnerabilities with CBC-mode symmetric decryption using padding.](/standard/security/vulnerabilities-cbc-mode)

## Examples
The following example demonstrates how to encrypt and decrypt sample data using the <xref:System.Security.Cryptography.AesManaged> class.
Expand Down Expand Up @@ -747,4 +748,4 @@
</Docs>
</Member>
</Members>
</Type>
</Type>