Create PasswordHasher

Password Salt and Hasher. 

Put the first two function into a class.. 

Then you can call it from a function.