-
-
Notifications
You must be signed in to change notification settings - Fork 44
Migrations
Efra Espada edited this page Jun 17, 2019
·
6 revisions
SC Version | Reveal resource | Reveal value | Obfuscate value | Gradle Version | Logic |
---|---|---|---|---|---|
0.x | getString() | decryptString() | encryptString() | 3.x | Java - hex |
1.2 | deobfuscate() | deobfuscate() | obfuscate() | 4.x | C++ - hex |
1.5 | reveal() | reveal() | obfuscate() | 5.x | C++ - hex |
1.6 | reveal() | reveal() | obfuscate() | 5.x | C++ - hex |
2.2 | reveal()* | reveal()* | obfuscate()* | 5.x | C++ - byte[] |
3.0 | reveal()* | reveal()* | obfuscate()* | 5.x | C++ - byte[] |
Every change in SC logic causes different obfuscation outputs. It affects your older stored obfuscated data with v0.x
, v1.x
and v2.x
.
You can update every string stored with an older SC logic.
String originalA = SC.reveal(obfuscated_stored_string_a, Version.V0)
String originalB = SC.reveal(obfuscated_stored_string_b, Version.V1)
String originalC = SC.reveal(obfuscated_stored_string_c, Version.V2)
String updatedA = SC.obfuscate(originalA)
String updatedB = SC.obfuscate(originalB)
String updatedC = SC.obfuscate(originalC)
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.