-
-
Notifications
You must be signed in to change notification settings - Fork 42
Migrations
Efra Espada edited this page May 26, 2019
·
6 revisions
SC Version | Reveal resource | Reveal value | Obfuscate value | Gradle Version | Logic |
---|---|---|---|---|---|
0.x | getString() | decryptString() | encryptString() | 3.x | Java |
1.2 | deobfuscate() | deobfuscate() | obfuscate() | 4.x | C++ |
1.5 | reveal() | reveal() | obfuscate() | 5.x | C++ |
From v1.x, the obfuscation output doesn't have the same value from older versions.
This change only affects those apps obfuscating and storing data. You can use the deprecated method SC.decryptString(String value)
for revealing the original data and obfuscate it again with the new method.
String original = SC.decryptString(v0_obfuscated_string); // v0.x methods are deprecated
String v1_obfuscated_string = SC.obfuscate(original)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.