In a medium saucepan, heat sugar with water, salt and cayenne pepper over a high flame. Cook until mixture is soft and bubbling. Add pistachios and stir 2 to 4 minutes, until caramelized (pistachios may clump together). Remove pistachios from pan and lay on a cookie sheet lined with wax paper. When pistachios are completely cool, break apart and reserve.