 | EncryptionTripleDESEncrypt Method |
Encrypts a string using TripleDES encryption.
Namespace:
Koden.Utils.Encryption
Assembly:
Koden.Utils.Encryption (in Koden.Utils.Encryption.dll) Version: 1.1.6453.26061
Syntaxpublic static string TripleDESEncrypt(
string toEncrypt,
string key,
bool useHashing,
byte[] iv,
CipherMode cMode,
PaddingMode pMode
)
Public Shared Function TripleDESEncrypt (
toEncrypt As String,
key As String,
useHashing As Boolean,
iv As Byte(),
cMode As CipherMode,
pMode As PaddingMode
) As String
public:
static String^ TripleDESEncrypt(
String^ toEncrypt,
String^ key,
bool useHashing,
array<unsigned char>^ iv,
CipherMode cMode,
PaddingMode pMode
)
static member TripleDESEncrypt :
toEncrypt : string *
key : string *
useHashing : bool *
iv : byte[] *
cMode : CipherMode *
pMode : PaddingMode -> string
Parameters
- toEncrypt
- Type: SystemString
To encrypt. - key
- Type: SystemString
The key. - useHashing
- Type: SystemBoolean
The use hashing. - iv
- Type: SystemByte
The iv. - cMode
- Type: System.Security.CryptographyCipherMode
The cipher mode. - pMode
- Type: System.Security.CryptographyPaddingMode
The padding mode.
Return Value
Type:
String[Missing <returns> documentation for "M:Koden.Utils.Encryption.Encryption.TripleDESEncrypt(System.String,System.String,System.Boolean,System.Byte[],System.Security.Cryptography.CipherMode,System.Security.Cryptography.PaddingMode)"]
See Also