added default value for encryption encoding to avoid case where module throws becuase it can't read property of undifined. Added more information to readme.md about encoding options.