changes for hash and salt