@@ -201,7 +201,7 @@ public static String obfuscate(String value) {
201201 * @param id
202202 * @return String
203203 */
204- public static String deobfuscate (@ StringRes int id ) {
204+ public static String reveal (@ StringRes int id ) {
205205 if (context == null ) {
206206 Log .e (TAG , "Library not initialized: SC.init(Context)" );
207207 return null ;
@@ -219,7 +219,7 @@ public static String deobfuscate(@StringRes int id) {
219219 * @param value
220220 * @return String
221221 */
222- public static String deobfuscate (String value ) {
222+ public static String reveal (String value ) {
223223 if (context == null ) {
224224 Log .e (TAG , "Library not initialized: SC.init(Context)" );
225225 return null ;
@@ -238,8 +238,8 @@ public static String deobfuscate(String value) {
238238 * @param formatArgs
239239 * @return
240240 */
241- public static String deobfuscate (@ StringRes int id , Object ... formatArgs ) {
242- String value = deobfuscate (id );
241+ public static String reveal (@ StringRes int id , Object ... formatArgs ) {
242+ String value = reveal (id );
243243 Locale locale ;
244244 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .N ) {
245245 locale = Resources .getSystem ().getConfiguration ().getLocales ().get (0 );
@@ -275,7 +275,7 @@ public static String encryptString(String value) {
275275 * Decrypts the given value
276276 * @param value
277277 * @return String
278- * @deprecated use {@link #deobfuscate (String)}()} instead.
278+ * @deprecated use {@link #reveal (String)}()} instead.
279279 */
280280 @ Deprecated
281281 public static String decryptString (String value ) {
@@ -319,7 +319,7 @@ public static String getString(@StringRes int id) {
319319 * @param id
320320 * @param formatArgs
321321 * @return String
322- * @deprecated use {@link #deobfuscate (int, Object...)}()} instead.
322+ * @deprecated use {@link #reveal (int, Object...)}()} instead.
323323 */
324324 @ Deprecated
325325 public static String getString (@ StringRes int id , Object ... formatArgs ) {
0 commit comments