public class SimpleObfuscatorExtensions extends Object
SimpleObfuscatorExtensions provides algorithms for obfuscate strings.| Constructor and Description |
|---|
SimpleObfuscatorExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static String |
disentangle(com.google.common.collect.BiMap<Character,de.alpharogroup.crypto.obfuscation.rule.ObfuscationRule<Character,Character>> rules,
String obfuscated)
Disentangle the given obfuscated text with the given
BiMap rules |
static String |
disentangleBiMap(com.google.common.collect.BiMap<Character,Character> rules,
String obfuscated)
Disentangle the given obfuscated text with the given
BiMap rules |
static String |
obfuscateBiMap(com.google.common.collect.BiMap<Character,Character> rules,
String toObfuscate)
Obfuscate with the given
BiMap |
static String |
obfuscateWith(com.google.common.collect.BiMap<Character,de.alpharogroup.crypto.obfuscation.rule.ObfuscationRule<Character,Character>> rules,
String toObfuscate)
Obfuscate with the given
BiMap |
static com.google.common.collect.BiMap<Character,Character> |
toCharacterBiMap(com.google.common.collect.BiMap<Character,de.alpharogroup.crypto.obfuscation.rule.ObfuscationRule<Character,Character>> rules)
Transforms the given obfuscation rules
BiMap to a simple character BiMap |
static boolean |
validate(com.google.common.collect.BiMap<Character,de.alpharogroup.crypto.obfuscation.rule.ObfuscationRule<Character,Character>> rules)
Validate the given
BiMap if a before obfuscated String can be disentangled |
public static String obfuscateWith(com.google.common.collect.BiMap<Character,de.alpharogroup.crypto.obfuscation.rule.ObfuscationRule<Character,Character>> rules, String toObfuscate)
BiMaprules - the rulestoObfuscate - the String object to obfuscatepublic static String disentangle(com.google.common.collect.BiMap<Character,de.alpharogroup.crypto.obfuscation.rule.ObfuscationRule<Character,Character>> rules, String obfuscated)
BiMap rulesrules - the rulesobfuscated - the obfuscated textpublic static String disentangleBiMap(com.google.common.collect.BiMap<Character,Character> rules, String obfuscated)
BiMap rulesrules - the rulesobfuscated - the obfuscated textpublic static String obfuscateBiMap(com.google.common.collect.BiMap<Character,Character> rules, String toObfuscate)
BiMaprules - the rulestoObfuscate - the String object to obfuscatepublic static com.google.common.collect.BiMap<Character,Character> toCharacterBiMap(@NonNull com.google.common.collect.BiMap<Character,de.alpharogroup.crypto.obfuscation.rule.ObfuscationRule<Character,Character>> rules)
BiMap to a simple character BiMaprules - the rulesBiMappublic static boolean validate(com.google.common.collect.BiMap<Character,de.alpharogroup.crypto.obfuscation.rule.ObfuscationRule<Character,Character>> rules)
BiMap if a before obfuscated String can be disentangledrules - the rulesBiMap is disentanglableCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.