Refactored existing code and added support for symmetric encryption.
Merge pull request #2 from mailgun/rjones/symmetric

Refactored existing code and added support for symmetric encryption.