public static myEncrypt GetLayer() { Type trp = System.Web.Compilation.BuildManager.GetType(MODULE_NAME, true); myEncrypt de = (myEncrypt)Activator.CreateInstance(trp); return(de); }
public static string dataDecrypt(string cypherString, bool useHasing) { myEncrypt de = myEncryptHelper.GetLayer(); return(de.stringDecrypt(cypherString, useHasing, GUID_APP_KEY)); }