WARNING: The [sjs-3] engine was deprecated, use [sjs-4] instead.


Return the hash of the file’s body.


file.bodyHash() string


Return a hash of the file’s body, which is a fingerprint of it. When two files have the same bodyHash, it is guaranteed that their bodies store the same data.

Note that the format of the bodyHash is not fixed. The only guarantee is that it is a HEX string no longer than 256 bytes (in HEX form).


An example bodyHash.