So basically the advice given the blog is impossible to achive (or NP- Complete)?
On Nov 2, 9:09 am, cybice <[email protected]> wrote: > But, no 100% probability that this method find something :-) > But :-) i think CRC32 is not a good hash function so probability to > find solution is not zero > > On Nov 2, 3:45 am, cybice <[email protected]> wrote: > > > > > Another way :-) > > > while(CALC_CRC(compiled_code)!=CRC) > > { > > CRC = CRC++; > > InjectCRCIntoSource(CRC); > > Compile(); > > > } > > > On Nov 1, 10:50 am, Zsolt Vasvari <[email protected]> wrote: > > > > Under the part "Make your application temper-resistant" Tim Bray > > > advises: > > > > "The most obvious mechanism is to use a lightweight hash function, > > > such as CRC32, and build a hash of your application’s code. You can > > > then compare this checksum with a known good value. You can find the > > > path of your application’s files by calling > > > context.GetApplicationInfo() — just be sure not to compute a checksum > > > of the file that contains your checksum! " > > > > It's the last part I have a problem with. How do I compute the CRC32 > > > of the app that already contains the said CRC32?????- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

