Consider an application which handles both general as well a…

Consider an application which handles both general as well as private/personal information. Based on the type of data being handled, the system dynamically selects an appropriate data encryption approach to securely store the data. Identify the GoF pattern which can guide the system design for this requirement.