[Overview][Resource strings][Constants][Types][Procedures and functions][Index] |
Decode a string encoded with XorEncode
Source position: strutils.pp line 189
function XorDecode( |
const Key: string; |
const Source: string |
):string; |
Key |
|
Key to use when decoding. |
Source |
|
String to decode |
Hexadecimal representation of the XOR-encoded string.
XorDecode decodes Source and returns the original string that was encrypted using XorEncode with key Key. If a different key is used than the key used to encode the string, the result will be unreadable.
If the string Source is not a valid XorEncode result (e.g. contains non-numerical characters), then a EConversionError exception will be raised.
|
Encode a string by XOR-ing its characters using characters of a given key, representing the result as hex values. |
|
|
Encode a string by XOR-ing its characters using characters of a given key. |