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