UtilEncryptionCaesarEncrypt Method

Encrypts a string using Caesar's substitution cipher.

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 CaesarEncrypt(
	string text,
	int positions,
	string charSet = ""
)

Parameters

text  String
The text to encrypt.
positions  Int32
The character position shifting.
charSet  String  (Optional)
A set of characters to use in encoding.

Return Value

String
The encrypted string.

Example

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

See Also