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

Refactored existing code and added support for symmetric encryption.