Preheat the oven to 350 degrees F. Spray an 8 to 10-inch cake pan with butter or brush some vegetable oil into it, then line the bottom of the pan with parchment paper.
Melt the chocolate in the top part of a double boiler over just simmering water or on low power in a microwave.
In another bowl, beat the butter, sugar, and salt with an electric mixer until the ingredients are fully incorporated.
Add the eggs and almond flour, and keep mixing until the ingredients are well combined.
Allow the melted chocolate to cool slightly then add it to the bowl and keep mixing until all the ingredients are incorporated well and the batter is smooth.
Pour the batter into the prepared pan and bake the cake for 25 to 30 minutes, until a toothpick inserted into the cake comes out clean. Be careful not to overbake the cake; it will get too crumbly if it’s baked too long.
Let the cake cool completely before removing it from the pan. Dust the cake with the confectioners’ sugar and serve once cold after 30 minutes minimum.