Blend the tofu and date paste and vanilla until completely smooth.
Fold in the flour, cocoa, baking powder and salt.
Add chocolate chips or walnuts if using.
Pour into a lined tin and bake at 175°C for around 40 minutes.
Leave them to cool fully before slicing.
