Salt function respects length argument.
Merge pull request #5 from mikepb/patch-1

Salt function respects length argument.