Skip to content

String Usage

Efra Espada edited this page Apr 20, 2021 · 4 revisions

Simple

String obfuscated = Stringcare.obfuscate("hello there πŸ˜€");
String revealed = Stringcare.reveal(obfuscated);

print(revealed); // prints "hello there πŸ˜€"

With extra keys

String p1 = "dsgfjkbndsgfbldsgbdjns";
String p2 = "sfvsfdgvsdfvsfdvsfvsrf";
String p3 = "dtlbkjdnsfvsftrglbjknd";

String obfuscated = Stringcare.obfuscateWith([p2, p1, p3], "hello there πŸ˜€");
String revealed = Stringcare.revealWith([p1, p3, p2], obfuscated);

print(revealed); // prints "hello there πŸ˜€"
Clone this wiki locally