fixed possible missinterpretation of  hashlen when using the PHS interface
Merge pull request #9 from funkysash/master

fixed possible missinterpretation of  hashlen when using the PHS interfa...