public static string GetSecurePassword(LkEncryptType type, string value) { IEncrypt encrypt = GetEncryptFactory(type); if (encrypt == null) { return(string.Empty); } else { return(encrypt.GetSecurePassword(value)); } }
public static string GetSecurePassword(LkEncryptType type, string value, string salt) { IEncrypt encrypt = GetEncryptFactory(type); return(encrypt.GetSecurePassword(value, salt)); }