Пример #1
0
        public static string GetSecurePassword(LkEncryptType type, string value)
        {
            IEncrypt encrypt = GetEncryptFactory(type);

            if (encrypt == null)
            {
                return(string.Empty);
            }
            else
            {
                return(encrypt.GetSecurePassword(value));
            }
        }
Пример #2
0
        public static string GetSecurePassword(LkEncryptType type, string value, string salt)
        {
            IEncrypt encrypt = GetEncryptFactory(type);

            return(encrypt.GetSecurePassword(value, salt));
        }