<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Content hash calculation for data block size less then 4MB in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-hash-calculation-for-data-block-size-less-then-4MB/m-p/423887#M22674</link>
    <description>&lt;P&gt;Is it necessary to split the file in to block of the 4MB to compute the correct hash?&amp;nbsp;How can I calculate the content hash for the data block size less then 4MB?&lt;/P&gt;</description>
    <pubDate>Tue, 26 May 2020 05:23:45 GMT</pubDate>
    <dc:creator>Pankil</dc:creator>
    <dc:date>2020-05-26T05:23:45Z</dc:date>
    <item>
      <title>Content hash calculation for data block size less then 4MB</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-hash-calculation-for-data-block-size-less-then-4MB/m-p/423887#M22674</link>
      <description>&lt;P&gt;Is it necessary to split the file in to block of the 4MB to compute the correct hash?&amp;nbsp;How can I calculate the content hash for the data block size less then 4MB?&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 05:23:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-hash-calculation-for-data-block-size-less-then-4MB/m-p/423887#M22674</guid>
      <dc:creator>Pankil</dc:creator>
      <dc:date>2020-05-26T05:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Content hash calculation for data block size less then 4MB</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-hash-calculation-for-data-block-size-less-then-4MB/m-p/424162#M22680</link>
      <description>&lt;P&gt;It sounds like you're referring to calculating the "content_hash" value for a file in&amp;nbsp;Dropbox as returned by the&amp;nbsp;Dropbox API. You can find documentation and example code for this on &lt;A href="https://www.dropbox.com/developers/reference/content-hash" target="_self"&gt;the Content Hash page&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to calculate the value correctly, you need to follow the instructions there exactly.&amp;nbsp;That includes always dividing the file into 4 MB pieces. For files smaller than 4 MB, the one (first/last) piece will be smaller than 4 MB. That's acceptable, and your code should proceed normally in that case, following the instructions to compute the value.&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 17:18:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-hash-calculation-for-data-block-size-less-then-4MB/m-p/424162#M22680</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-05-26T17:18:10Z</dc:date>
    </item>
  </channel>
</rss>

