StreamThreeFish implements Threefish for streams. Key len = 32 byte Block len = 32 byte

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

Syntax

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

Examples

Perform a ThreeFish stream encryption.
CopyC#
// Set encryption algorithm
IStreamAlgorithm encryptAlgo = new StreamThreeFish();
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..::..StreamThreeFish

See Also