ARC4 2048bit

Namespace: LLCryptoLib.Crypto
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
[SerializableAttribute]
public class StreamARC42048 : StreamARC4Base
Visual Basic
<SerializableAttribute> _
Public Class StreamARC42048 _
	Inherits StreamARC4Base
Visual C++
[SerializableAttribute]
public ref class StreamARC42048 : public StreamARC4Base

Examples

CopyC#
// Set encryption algorithm
IStreamAlgorithm encryptAlgo = new StreamARC42048();
StreamCrypter encrypter = new StreamCrypter(encryptAlgo);
// Set symmetric password
encrypter.GenerateKeys("littlelitesoftware");
// Encrypt
encrypter.EncryptDecrypt(rndFile.FullName, encryptedFile, true, null);
Console.WriteLine("File encrypted into " + encryptedFile);

Inheritance Hierarchy

System..::..Object
  LLCryptoLib.Crypto..::..StreamAlgorithm
    LLCryptoLib.Crypto..::..StreamARC4Base
      LLCryptoLib.Crypto..::..StreamARC42048

See Also