Helper to compute the length of a signature file, given the length of the source