You can create a fingerprint for a file by using the file fingerprint command.
To display the regular output, enter the following command: file fingerprint -a MD5 -m -d /vol/vol_worm/myfile
To display the XML output, include -x in the command:file fingerprint -a MD5 -m -d -x /vol/vol_worm/myfile