Configurable encoding

Hey,

I wanted to have an option to save the generated hash and salt in base64 rather than hex. I've added an 'encoding' attribute to the options object and updated the documentation.

Cheers,
Kevin