Skip to content

Migrations

Efra Espada edited this page Jun 17, 2019 · 6 revisions

Changelog

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.

Update your stored obfuscated data

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)