public string ExportXML(string type) { if (type == "encrypted_tdes") { return(XmlParser.CreateTdesXml(saveDirectory, tdesListHexaString.ToArray(), HexaByteConverter.ToHexa(rsa.Encrypt(tdes.getIv())))); } throw new NotImplementedException(); }