Well, we can take any number but it would be best to be a multiple of the blocksize of sha1 and md5. Unfortunately, I can not use the blocksize directly as it only exists as a parameter starting from python 2.5