Creates hash and salt from text