UtilEncryptionCaesarDecrypt Method
Decrypts a string using Caesar's substitution cipher.
Namespace: DevCase.Core.Security.Cryptography.EncryptionAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string CaesarDecrypt(
string text,
int positions,
string charSet = ""
)
Public Shared Function CaesarDecrypt (
text As String,
positions As Integer,
Optional charSet As String = ""
) As String
Dim text As String
Dim positions As Integer
Dim charSet As String
Dim returnValue As String
returnValue = UtilEncryption.CaesarDecrypt(text,
positions, charSet)
public:
static String^ CaesarDecrypt(
String^ text,
int positions,
String^ charSet = L""
)
static member CaesarDecrypt :
text : string *
positions : int *
?charSet : string
(* Defaults:
let _charSet = defaultArg charSet ""
*)
-> string
No code example is currently available or this language may not be supported.
- text String
-
The encrypted text to decrypt.
- positions Int32
-
The character position shifting.
- charSet String (Optional)
-
A set of characters to use in encoding.
String
The decrypted string.
This is a code example.
No code example is currently available or this language may not be supported.
Dim decrypted As String = CaesarDecrypt("WtAAD^ñDGAsg", positions:=15)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.