Platforms to show: All Mac Windows Linux Cross-Platform
StringXORMBS(data as string, XorMask as string, MaskOffset as Integer = 0) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | String | MBS Util Plugin | 3.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If data is "" or memory is low, the result is "".
If XorMask is shorter as data the XorMask string is used several times.
The function is optimized for several cases, e.g. the case where b is only one, two or four bytes long.
Returns a string with binary encoding. Before using this function, make sure both strings have the same encoding.
MaskOffset specifies where in the XorMask string to start. This is useful for partial blocks.
Some examples using this global method:
The items on this page are in the following plugins: MBS Util Plugin.