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

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

Syntax

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

Examples

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

See Also