Wow!  This thread has yielded a wealth of information about hashes & checksums 
and the issues surrounding generating and using them.  David Adams’s Hash Tool 
Component PDF finally gave me a good explanation about what a Hash is and 
provides a good resource.  I’m still a little bit foggy about the difference 
between what a Hash is vs. what a Checksum is.  Are they really different?  
Since the 4D Language itself doesn’t use the concept of hashes (I know they are 
used in other programming languages extensively), I simply don’t know much 
about them.

I downloaded Keisuke’s Hash plugin and will be testing it for use in my app 
during the next few days to generate MD5 checksums on files.

David Belote
Colorado Springs  

On 10/20/16, 8:25 PM, "4D_Tech on behalf of Keisuke Miyako" 
<[email protected] on behalf of [email protected]> wrote:

    it never occurred to me that PHP hashing could take so long...
    
    here I've just posted a plugin to generate the hash of a file:
    
    https://github.com/miyako/4d-plugin-hash
    
    for what it's worth, you can pass a callback method too...
    
    > 2016/10/20 23:17、Cannon Smith <[email protected]> のメール:
    >
    > I created a feature request a few years ago 
(http://forums.4d.fr/Post/EN/13706008/1/13706009#13706009) because I was in the 
same situation you are and turned to php as well. Only I was doing a SHA1 
instead of MD5. Anyway, the thing I was running into wasn’t a file size limit 
but a time limit. PHP calls error out after 30 seconds which wasn’t enough time 
to compute the SHA1 on the size of files I was working with.
    >
    > I just mention it in case this is what is happening to you as well.
    
    
    
    宮古 啓介
    セールス・エンジニア
    
    株式会社フォーディー・ジャパン
    〒150-0043
    東京都渋谷区道玄坂1-10-2 渋谷THビル6F
    Tel: 03-6427-8441
    Fax: 03-6427-8449
    
    [email protected]
    www.4D.com/JP
    
    **********************************************************************
    4D Internet Users Group (4D iNUG)
    FAQ:  http://lists.4d.com/faqnug.html
    Archive:  http://lists.4d.com/archives.html
    Options: http://lists.4d.com/mailman/options/4d_tech
    Unsub:  mailto:[email protected]
    **********************************************************************


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to