Calculate checksum of a file on SD card

Hi!

I search for a solution to calculate the checksum of a file on the device SD card. Does MbedOS support this type of functionality? What is the best practice to achieve this? Any idea?

Best regards