Rinse. Place the lentils in a fine-mesh sieve or colander and rinse under cold water to remove dust or debris.
Quick-soak. Combine the lentils and 1 ½ cups (355 mL) boiling water in the blender container. Let stand for 15 to 20 minutes, until the lentils are plump and the water has cooled. Do not drain.
Blend. Blend on high speed until completely smooth, stopping to scrape down the sides of the blender as needed.
Add water and salt. Pour the lentil mixture into a medium heavy-bottomed saucepan. Whisk in 2 cups (473 mL) room-temperature water for medium-firm tofu, 1 ½ cups (355 mL) for firm tofu, or 1 cup (237 mL) for extra-firm tofu. Whisk in the optional salt.
Cook until very thick. Whisk over medium-high heat for 6 to 8 minutes, reducing to medium as needed, until the mixture is very thick and glossy, coats the bottom of the pan, and clings heavily to the whisk. Continue cooking if necessary to reach this consistency.
Fill the dish. Scrape into an ungreased 8-inch (20 cm) square glass or ceramic baking dish and smooth the top.
Chill. Refrigerate uncovered for at least 60 minutes, until set. For a firmer texture, refrigerate for at least 8 hours or overnight.
Unmold and cut. Run a dull knife around the edges of the dish and invert onto a cutting board. Cut into your desired shapes and sizes.
