I want to convert this C# to php to use phpseclib RSA encrypt? Here is C#:
public static string Encrypt(string data) { CspParameters cs = new CspParameter