To generate the hash(es), simply compute the SHA-1 hash of 1 or more of the certificates in the chain used to sign your application that needs MonAppPermission. A single 20-byte (160-bit) SHA-1 hash for a single certificate. The spec allows you to provide multiple hashes in case there are multiple privileged apps signed by multiple authorities.

To put this information into a hostapp.properties file, see the following wiki: