Added computation of MD5, SHA-1, SHA-256 and SHA-512 on a per-section basis. The results are always reported when invoking the dump_info() method in the PE instance.
SHA-256 and SHA-512 are calculated only in Python 2.5 onwards which includes them in the hashlib module.
The SectionStructure instances now sport the following methods: get_hash_sha1(), get_hash_sha256(), get_hash_sha512(), get_hash_md5()



git-svn-id: http://pefile.googlecode.com/svn/trunk@39 8842bc4e-7134-0410-8230-5dc5194fb5c1
1 file changed
tree: 905cbd75afc0d89b1de0c0afd3ec35ef65cc2426
  1. CHANGES_up_to_1.2.6
  2. COPYING
  3. MANIFEST
  4. README
  5. pefile.py
  6. peutils.py
  7. setup.py