Added file encryption

Hi  Mark,

please review and maybe merge my changes to your gem. I'm still new to programming and this is my first pull request to an open source project. So please let me know, if I should add anything.

Kindly, Heiner