Added GenerateSalt

Fixes 86#.
- Added GenerateSalt to PaswordHash class
- Added GenerateSalt test