UtilEncryptionXorEncryptOrDecrypt Method

Encrypts or decrypts a string using XOR algorithm.

Definition

Namespace: DevCase.Core.Security.Cryptography.Encryption
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string XorEncryptOrDecrypt(
	string text,
	int key
)

Parameters

text  String
The text to encrypt or decrypt.
key  Int32
The key to use for encryption or decryption.

Return Value

String
The resulting encrypted or decrypted string.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also