I have a Instance of the "RSACryptoServiceProvider" in my backend Code.
oRsa = new System.Security.Cryptography.RSACryptoServiceProvider(2048);
var Key = CryptoHelper.ExportPublicKey(oRsa);
The Code to Export the Public Key I got from here: https://stackoverflow.com/a/28407693/579623 ( I also tried this https://stackoverflow.com/a/25591659/579623)
the "key" is send to my Javascript Client wich uses JSEncrypt to encrypt the Data.
Problem now is I got the following error in my Backend: "The data to be decrypted exceeds the maximum for this modulus of 256 bytes."