/// <summary> /// Sets the alphabet used for obfuscating (masking) the underlying integer value of the MaskableInt32. /// </summary> /// <param name="alphabet"></param> public static void SetObfuscationAlphabet(string alphabet) { IntegerObfuscator.SetObfuscationAlphabet(alphabet); }
public static MaskableInt32 GetUnmaskedValue(string value) { int deobfuscatedValue = IntegerObfuscator.Deobfuscate(value); return(deobfuscatedValue); }
/// <summary> /// Sets the salt value used for obfuscating (masking) the underlying integer value of the MaskableInt32 /// </summary> /// <param name="salt"></param> public static void SetObfuscationSalt(string salt) { IntegerObfuscator.SetObfuscationSalt(salt); }
public string GetMaskedValue() { return(IntegerObfuscator.Obfuscate(this.Val)); }