dotnet / dotnet/dotnet-api-docs
Rijndael.Create in Main
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
Why do you create Rijndael in Main? I think we do not need an instance of Rijndael to pass a key and a IV to the EncryptStringToBytes and DecryptStringFromBytes because these methods create own Rijndael's instances.
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: f75dbabb-9969-e85c-1195-153fb2b6fe92
* Version Independent ID: 4c73e392-1752-fc6a-75fd-36f005e92bd6
* Content: [Rijndael Class (System.Security.Cryptography)](https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.rijndael?view=netframework-4.7.2)
* Content Source: [xml/System.Security.Cryptography/Rijndael.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Security.Cryptography/Rijndael.xml)
* Product: **dotnet-api**
* GitHub Login: @mairaw
* Microsoft Alias: **mairaw**
Contributor guide
Assessment
This issue has not been assessed yet.