1025750 - getFileChecksum: add used_for_security boolean parameter

This parameter is used to initialize hashlib object with usedforsecurity
parameter (where available) and indicates whether or not should
the computed checksum be used for security purposes.