UtilEncryptionStairsEncrypt(String, String, Encoding) Method
Encrypts a string using Stairs algorithm.
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 StairsEncrypt(
string data,
string key,
Encoding enc = null
)
Public Shared Function StairsEncrypt (
data As String,
key As String,
Optional enc As Encoding = Nothing
) As String
Dim data As String
Dim key As String
Dim enc As Encoding
Dim returnValue As String
returnValue = UtilEncryption.StairsEncrypt(data,
key, enc)
public:
static String^ StairsEncrypt(
String^ data,
String^ key,
Encoding^ enc = nullptr
)
static member StairsEncrypt :
data : string *
key : string *
?enc : Encoding
(* Defaults:
let _enc = defaultArg enc null
*)
-> string
No code example is currently available or this language may not be supported.
- data String
-
The string to encrypt.
- key String
-
The encryption key.
- enc Encoding (Optional)
-
The text Encoding.
String
The encrypted string.