Fixed salt gen to use CSPRNG
Removed Windows code
Changed data_read from int to size_t
Fixed error with read()
Merge pull request #16 from Ayrx/fix-saltgen

Fixed salt gen to use CSPRNG