Blowfish cost must be in range 4…31, not 4…30

`generateSalt` parameter validation fix.
Merge pull request #817 from maximal/patch-1

Blowfish cost must be in range 4…31, not 4…30