Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 5
String Usage
Efra Espada edited this page May 1, 2021
·
4 revisions
String obfuscated =Stringcare.obfuscate("hello there 😀");
String revealed =Stringcare.reveal(obfuscated);
print(revealed); // prints "hello there 😀"More simple:
var obfuscated ="hello there 😀".obfuscate();
var revealed = obfuscated.reveal();
print(revealed); // prints "hello there 😀"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 😀"With extensions:
var p1 ="dsgfjkbndsgfbldsgbdjns";
var p2 ="sfvsfdgvsdfvsfdvsfvsrf";
var p3 ="dtlbkjdnsfvsftrglbjknd";
var obfuscated ="hello there 😀".obfuscateWith([p2, p1, p3]);
var revealed = obfuscated.revealWith([p1, p3, p2]);
print(revealed); // prints "hello there 😀"