gotta encode 'salt' too!