HF RL Explorer

AES-256-CBC Encrypt and Decrypt (.NET Compatible)

AES-256-CBC Encrypt and Decrypt (.NET Compatible): a task in Terminal-Lego-15k (Harbor dataset). Implement a Python script that performs AES-256-CBC encryption and decryption fully compatible with a specific .NET RijndaelManaged implementation. This simulates a real-world interoperability scenario…

The task

Implement a Python script that performs AES-256-CBC encryption and decryption fully compatible with a specific .NET `RijndaelManaged` implementation. This simulates a real-world interoperability scenario where encrypted data produced by a .NET server must be decrypted by a Python application, and vice versa.

Part of PrimeIntellect/Terminal-Lego-15k.