Firmware over the air - Produce hash calculation

Hi all 

How would I be able to generate and view the calculated hash that i get while using the dfu library?  Is there an easy way.  I'm hoping to generate one single hash after i do the the complete download which involved running dfu_write continsously. 

Thank you in advance

Related