Example #1
0
        public static myEncrypt GetLayer()
        {
            Type      trp = System.Web.Compilation.BuildManager.GetType(MODULE_NAME, true);
            myEncrypt de  = (myEncrypt)Activator.CreateInstance(trp);

            return(de);
        }
Example #2
0
        public static string dataDecrypt(string cypherString, bool useHasing)
        {
            myEncrypt de = myEncryptHelper.GetLayer();

            return(de.stringDecrypt(cypherString, useHasing, GUID_APP_KEY));
        }