how to use RSA to encrypt files (huge data) in C#
RSA can only encrypt data blocks that are shorter than the key length so what you normally do is Generate a random key of the correct length required for AES (or similar). Encrypt your data using AES or similar using that key Encrypt the random key using your RSA key Then you publish both the … Read more