Aaaand, no sooner do I send this than I discover openssl/sha1.  Sorry to
have wasted your time.

On a separate topic, is it reasonable to assume that openssl/sha1 will work
on any platform that Racket will run on?  I'm specifically thinking of
Windows here.

On Sat, Sep 24, 2016 at 7:10 AM, David Storrs <david.sto...@gmail.com>
wrote:

> Is there a hashing function in Racket that will operate on a file without
> reading the entire thing into memory first?
>
> I need to verify that a file is unchanged after I break it into chunks and
> then put the chunks back together again.  My plan is to take a (sha, md5,
> ...) hash of the file before and after.  The problem is that these are gene
> expression BAM files and they could be extremely large -- 200GB or possibly
> even more.  Reading in the whole file won't work, and I'm not sure where to
> go next.  I could shell out to shasum or something like that, but I wanted
> to check if there was a Racket method first.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to