Rijndael in class library (package) not available for .NET Core

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?

Answers


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"
  }
}

Have you looked in System.Security. You will need to add an assembly reference to this DLL.

System.Security.Cryptography.Rijndael x = System.Security.Cryptography.Rijndael.Create();

Check here:

MSDN


Need Your Help

Android how to get ListView ID and using it out of onListItemClick? ListView, Notification, SQLite database

android sqlite listview android-listview android-notifications

I have a ListView and it populates notes from SQLite database. The effect of the following code is that when user select any item from the ListView, the application will access to the NoteEdit.class

Downloading images from Windows Azure blob?

android azure azure-storage-blobs

Basically I wish to store images as a blob on windows azure, each image will be linked to a different entry ina table in a database on azure and I wish to make it so my android app can lookup the i...