code: function c32checksum(dataHex: string) : string {
    const tmpHash = crypto.createHash('sha256').update(Buffer.from(dataHex, 'hex')).digest()
    const dataHash = crypto.createHash('sha256').update(tmpHash).digest()
    const checksum = dataHash.slice(0, 4).toString('hex')
    return checksum
  }
docs: Get the c32check checksum of a hex-encoded string
  @param {string} dataHex - the hex string
  @returns {string} the c32 checksum, as a bin-encoded string