<PackageReference Include="BouncyCastle.Cryptography" Version="2.7.0" />

Org.BouncyCastle.Crypto.Engines.AesEngine

public sealed class AesEngine : IBlockCipher
An implementation of the AES (Rijndael), from FIPS-197.
namespace Org.BouncyCastle.Crypto.Engines { public sealed class AesEngine : IBlockCipher { public string AlgorithmName { get; } public AesEngine(); public void Init(bool forEncryption, ICipherParameters parameters); public int GetBlockSize(); public int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff); } }