Conceal ProGuard rules

Conceal - library that provides easy Android APIs for performing fast encryption and authentication of data.

Conceal provides a set of Java APIs to perform cryptography on Android. It was designed to be able to encrypt large files on disk in a fast and memory efficient manner.

ProGuard rules for Conceal

ProGuard has the optimization phase and removes unused classes, fields and methods from your program code. After ProGuard shrinks and obfuscates code, short names like 'a', 'b', etc. are used as obfuscated names. Use the following ProGuard-style specification for your proguard-rules.pro file.

-keep,allowobfuscation @interface com.facebook.crypto.proguard.annotations.DoNotStrip
-keep,allowobfuscation @interface com.facebook.crypto.proguard.annotations.KeepGettersAndSetters

# Do not strip any method/class that is annotated with @DoNotStrip
-keep @com.facebook.crypto.proguard.annotations.DoNotStrip class *
-keepclassmembers class * {
    @com.facebook.crypto.proguard.annotations.DoNotStrip *;
}

-keepclassmembers @com.facebook.crypto.proguard.annotations.KeepGettersAndSetters class * {
  void set*(***);
  *** get*();
}

For more information about Conceal please see the website.

Static Gson ProGuard rules

Popular ProGuard rules