How to hash files in flash?

Dear all,
Hi,

Please help me how to hash some files in my evaluation board flash with QNX? I have QNX Ver 6.4.1 running great but I need add some syntax save to my flash and then this capability help me to hash my files in fs0p1?

I appreciate any help.