Wash the cucumber thoroughly and slice it thinly.
Thinly slice the onion.
Sprinkle salt on the cucumber and onion, let sit for 5 minutes, then drain the water.
Mix vinegar, sugar, and salt together to make the dressing.
Add the dressing to the salted cucumber and onion, and mix well.