Hashing of file for verification