コード例 #1
0
ファイル: LkEncrypt.cs プロジェクト: Lonka/LK.Util
        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
ファイル: LkEncrypt.cs プロジェクト: Lonka/LK.Util
        public static string GetSecurePassword(LkEncryptType type, string value, string salt)
        {
            IEncrypt encrypt = GetEncryptFactory(type);

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