Add feature to work with partially known hashes.

Reason and usage are described here:
http://blog.mheistermann.de/2014/04/14/plaidctf-2014-parlor-crypto-250-writeup/