Cleanup RestHelpers
Refactor crypto in RestHelpers
Merge pull request #49 from timhall/crypto-refactor

Crypto refactor