XorCipherEncryptDecrypt
Converts a plain text string to an XOR cipher encrypted equivalent, or converts an already-encrypted string back to its original state.
Syntax
XorCipherEncryptDecrypt( InputText, CipherKey );
Parameters
Parameter Name | Type | Description | Optional? | Default Value |
---|---|---|---|---|
InputText | String | The plain text you want to encrypt, or the encrypted text you want to decrypt. | No | n/a |
CipherKey | Integer | The intended encryption key. | No | n/a |
Output
If the function is able to convert the input value, it will return a string containing the converted value. If the function is unsuccessful - for example, because the input string or key are invalid - it will return an empty string.