DES 64bit.
DES is an algorithm developed in the 1970s. It was made a standard by the US government, and has also
been adopted by several other governments worldwide. It is widely used, especially in the financial industry.
DES is a block cipher with 64-bit block size. It uses 56-bit keys. This makes it fairly easy to break with modern
computers or special-purpose hardware. DES is still strong enough to keep most random hackers and individuals out,
but it is easily breakable with special hardware by government, criminal organizations, or major corporations.
In large volumes, the cost of beaking DES keys is on the order of tens of dollars. DES is getting too weak,
and should not be used in new designs.
Namespace: LLCryptoLib.CryptoAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
Visual Basic |
---|
<SerializableAttribute> _
Public Class StreamDES _
Inherits StreamAlgorithm |
Visual C++ |
---|
[SerializableAttribute]
public ref class StreamDES : public StreamAlgorithm |
Examples
CopyC#
IStreamAlgorithm encryptAlgo = new StreamDES();
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