With \directlua{context(md5.hex([===[#1]===]))} I can calculate the MD5 checksum. I thought there was another call for the calculation of the SHA checksum, but I could not find it in the documentation or on the context garden. Where to look? dr. Hans van der Meer