Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

251
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda