Design Patterns exercises - Factory for encrypt and Decrypt