Updated gen_salt to take any input