Butter a square 8x8x2 pan, and set aside. In a 2-quart sauce pan, combine the sugar, corn syrup, water, cornstarch, butter and salt. Cook over medium heat, stirring constantly, to 265 degrees on a candy thermometer (or until small amounts of the mixture dropped into very cold water forms a hard ball). Remove from the heat; stir in the vanilla and cayenne pepper, and pour into the greased pan.