Rehydrate the chilies (see instruction link in notes below), then roughly chop them.
Place the chilies into a mortar and pestle and grind them into a rough paste (not to your final preferred consistency..
Add remaining ingredients to the chili paste and continue to grind the mix into a paste of your desired consistency.
Notes
If your paste is too thick, add water to thin the paste to your desired consistency. The red chilies used will determine the overall heat of this recipe.