3DES 128bit
A variant of DES, Triple-DES or 3DES is based on using DES three times (an encrypt-decrypt-encrypt sequence with three different,
unrelated keys). Many people consider Triple-DES to be much safer than plain DES.
Namespace: LLCryptoLib.CryptoAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
Visual Basic |
---|
<SerializableAttribute> _
Public Class Stream3DES _
Inherits StreamAlgorithm |
Visual C++ |
---|
[SerializableAttribute]
public ref class Stream3DES : public StreamAlgorithm |
Examples
CopyC#
IStreamAlgorithm encryptAlgo = new Stream3DES();
StreamCrypter encrypter = new StreamCrypter(encryptAlgo);
encrypter.GenerateKeys("littlelitesoftware");
encrypter.EncryptDecrypt(rndFile.FullName, encryptedFile, true, null);
Console.WriteLine("File encrypted into " + encryptedFile);
Inheritance Hierarchy
See Also