2.4.2 Contents Hashes

The Contents Hash is a cryptographic digest of a subset of the information stored in the VBA Storage (section 2.3.4).

Conventions:

  • APPEND specifies appending the bytes of a field to the end of a resizable array of bytes.

  • APPEND specifies appending the MBCS bytes of a string without null termination to the end of a resizable array of bytes.

  • FOR EACH specifies iteration over a collection of records in their stored order.

This Contents Hash algorithm requires one parameter as input:

VBAStorage(Variable): The VBA Storage (section 2.3.4) to calculate a hash for.