MichaelRocks / paranoid

String obfuscator for Android applications.
Apache License 2.0
670 stars 79 forks source link

Cache fixes #60

Closed nesterov-n closed 2 years ago

nesterov-n commented 2 years ago
  1. Declare ParandoidTransform cacheable
  2. Reset file timestamps at jar creation. results of transform now byte-to-byte identical for identical inputs
MichaelRocks commented 2 years ago

Fixed the issue with timestamps by migrating to Joom's fork of Grip. And to support the transform cache it was required to make the build reproducible by removing randomness in obfuscationSeed, so now it's computed from the input.

All changes are available in 0.3.6 release, so I'll close this PR.