in reply to Re: Digest::Sha1 differences
in thread Digest::Sha1 differences

thank you, can you tell me what the first example is creating a digest of? the file name?

Replies are listed 'Best First'.
Re^3: Digest::Sha1 differences
by moritz (Cardinal) on May 19, 2010 at 13:49 UTC
    If it reads from the handle as long as it can, it hashes the empty string.

    But you'd have to look into the source to find out for sure.