HF RL Explorer

Task: Implement Hybrid RSA Encryption for Large Files in C

Task: Implement Hybrid RSA Encryption for Large Files in C: a task in Terminal-Lego-15k (Harbor dataset). RSA encryption cannot directly encrypt data larger than its key size (minus padding overhead). For a 2048-bit RSA key with OAEP padding, the maximum data size is approximately 214 bytes. To…

The task

RSA encryption cannot directly encrypt data larger than its key size (minus padding overhead). For a 2048-bit RSA key with OAEP padding, the maximum data size is approximately 214 bytes. To encrypt larger files, you must use **hybrid encryption**: encrypt the data with a symmetric algorithm (like AES) and then…

Part of PrimeIntellect/Terminal-Lego-15k.