Added encryption helper
Fixed errors in code causing it to not build.
Merge pull request #1 from Jeraimee/master

Added encryption helper