(self, objid, genno, data)
| 398 | return |
| 399 | |
| 400 | def decrypt_rc4(self, objid, genno, data): |
| 401 | key = self.decrypt_key + struct.pack('<L',objid)[:3]+struct.pack('<L',genno)[:2] |
| 402 | hash = md5.md5(key) |
| 403 | key = hash.digest()[:min(len(key),16)] |
| 404 | return Arcfour(key).process(data) |
| 405 | |
| 406 | KEYWORD_OBJ = KWD('obj') |
| 407 | def getobj(self, objid): |