Please help me. Where to find the Rijndael Security Cryptography in .NET Core?
What dependency I must to include in my class library (Package) project?
Rijndael is an iterated block cipher, meaning that it encrypts and decrypts a block of data by the iteration or round of a specific transformation. It supports encryption key sizes of 128, 192, and 256 bits and handles data in 128-bit blocks.
The Rijndael and RijndaelManaged types are marked as obsolete, starting in . NET 6.
The initialization vector (IV) to use for the symmetric algorithm.
The Rijndael algorithm, in conjunction with safe configuration values (i.e. AES ), is very robust and secure. The only true measure of an encryption algorithm's security is its consistent and long-lived exposure to cryptanalysis and attempts to defeat it by many cryptographers.
The Rijndael implementation is not (yet) ported to .NET Core. You could use AES (which is a subset of Rijndael) using the System.Security.Cryptography.Algorithms
package which targets netstandard1.3
:
var aes = System.Security.Cryptography.Aes.Create();
Note: you should only add this package dependency to the netstandard1.3
TFM, as it exists in the core library of the full framework already:
"netstandard1.3": {
"dependencies": {
"System.Security.Cryptography.Algorithms": "4.2.0"
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With