Trim and discard the blossom ends of the cucumbers, then peel the onions and cut both into rounds that are about 1/4 inch thick. In a nonreactive bowl, toss them with the salt and then cover and refrigerate for 1 to 2 hours. Drain well, rinse, and drain well again. Set the onions and cucumbers aside.