Skip to content
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

AesUtil.py - Obsolete #1

Open
0xZunia opened this issue Nov 28, 2024 · 0 comments
Open

AesUtil.py - Obsolete #1

0xZunia opened this issue Nov 28, 2024 · 0 comments

Comments

@0xZunia
Copy link

0xZunia commented Nov 28, 2024

/*
* Constructor 'System.Security.Cryptography.AesGcm.AesGcm(byte[])' is obsolete:
* 'AesGcm should indicate the required tag size for encryption and decryption. Use a constructor that accepts the tag size.'
*/
using (AesGcm aesGcm = new AesGcm(claveBytes)) // <<<<
/*
* Class 'System.Security.Cryptography.RijndaelManaged' is obsolete:
* 'The Rijndael and RijndaelManaged types are obsolete. Use Aes instead.'
*/
RijndaelManaged rijndaelManaged = new RijndaelManaged(); // <<<<
0xZunia added a commit to 0xZunia/tuya-pulsar-sdk-cs that referenced this issue Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant