Esempio n. 1
0
        public static string Encrypt(string key)
        {
            string timespan = TimeConvert.GetCurrentUTCTimeSpan();
            string mixedKey = $"{timespan}&{key}&{_desKey}";

            return(DESProvider.Encrypt(mixedKey, _desKey));
        }