public static string Encrypt(string Data, string Key) { using (var n = new Enigma()) { var cr = new LZ().compressToEncodedURIComponent(Data); return(n.Encrypt(cr, Key)); } }