Пример #1
0
        // ---------------------------------------------------------------------------------------------------
        // OLD routines now below
        // do not use anymore
        // routines above offer increased security characteristics per PABP
        // ---------------------------------------------------------------------------------------------------

        public static String UnmungeStringOld(String s)
        {
            SecurityParams p    = GetSecurityParams();
            String         tmpS = new EncryptOld().DecryptData(p.EncryptKey, s);

            return(tmpS);
        }
Пример #2
0
        // ---------------------------------------------------------------------------------------------------
        // OLD routines now below
        // do not use anymore
        // routines above offer increased security characteristics per PABP
        // ---------------------------------------------------------------------------------------------------

        public static String MungeStringOld(String s)
        {
            SecurityParams p    = GetSecurityParams();
            String         tmpS = new EncryptOld().EncryptData(p.EncryptKey, s); // we removed s.ToLowerInvariant() from this call in v5.8!!

            return(tmpS);
        }