Solving encryption using Design Patterns. Approach?
Posted on 2006-05-01
Need help on a project.
I want to encrypt/decrypt simple text files, using key phrase Caesar cipher and Vigenere.
But, I want to approach the whole project using design patters, don’t know how one can solve it using patterns like Factory method, Abstract factory and proxy, Template method, Bridge.
Come from a TurboPascal background, have troubles planning my whole projects in terms of objects with design patterns.
Comand line goal: ./encrypt input output CaesarORVigenere EncryptORDecrypt Key phrase
Thanks for the time