Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

252
Vistas
How to read RijndaelManaged 256 encrypted files in .NET Core?

My .NET Core app is having to read files generated by an older application written in .NET Framework 4.6.x. This older application encrypts files using the System.Security.Cryptography.RijndaelManaged implementation. It uses RijndaelManaged.BlockSize = 256.

Turns out .NET Core only supports .BlockSize = 128. Unfortunately, I have no control over the older application (plus there are already a bunch of files that have been generated).

Is there anyway for a .NET Core app to read RijndaelManaged.BlockSize = 256 encrypted files?

Looking at the old application's code, it looks like it's been adapted from here.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Yes, you can include the software only Bouncy Castle libraries for .NET (in C#) into your project. This offers a RijndaelEngine where you can set the block size in the constructor. To implement CBC and padding you also need the CBCBlockCipher from modes and the right padding, see here for an example (just replace the engine and perform other changes to make it fit your use case).

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda