PartialRSA is an algorithm from Nadia Heninger and Hovav Shacham work for breaking RSA keys with altered bits. It is a simple modification from their original work so it accepts masked files.