The cornstarch makes the milk gel into the pudding consistency you are used to Expandingeye. I have no idea what the salt does, but I have tried this recipe once and thought it was pretty decent. Honestly, its probably easier to just make cannabutter and then blend it into some instant pudding.