Today, in our AOP serie, we will use Unity to encrypt/decrypt our data. Let's imagine that you have a repo that stores personal information about users. You may want some of this data to be encrypted, in case your database is stolen, or accessed illegaly. Once again, AOP helps us in this situation. Let's build our sample. We will need an interface & an implementation representing the user repository. public interface IUserRepo { bool IsUserAuthenticated(string login, [Encrypt] string password); [Decrypt] string GetPasswordForUser(string login); } public class UserRepoImpl : IUserRepo { public bool IsUserAuthenticated(string login, string password) { if (password == "1234") return false; return true; } public string GetPasswordForUser(string login) { return "wOSHX/n2NyWWn53YXVvJIg=="; } } Using t