Currently calling getFileAsync on a document which is stored on disk returns a different set of bytes when compared to reading the file directly from disk. This appears to be the result of the function generating a new document which has a different modify date.
This means that the bytes returned by the function cannot be used to calculate a hash of the document with any accuracy.
I wish to use this function to generate a quickxorhash to identify the document on disk for comparison to a document in a database. Our requirement would also be served by enabling office to generate/serve the quickxorhash of the document on disk.