public string GetDataBy() { return(_provider.Encrypt("ServiceAInjection")); }
public static void ShowEncryptData(IAESProvider aesProvider, string data) { var encryptData = aesProvider.Encrypt(data); Console.WriteLine(encryptData); }