Skip to content

Instantly share code, notes, and snippets.

@whoisjake
Created March 23, 2010 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whoisjake/341676 to your computer and use it in GitHub Desktop.
Save whoisjake/341676 to your computer and use it in GitHub Desktop.
incr_digest = Digest::MD5.new()
the_tarball.each_line do |line|
incr_digest << line
end
md5 = incr_digest.hexdigest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment