StreamThreeFish implements Threefish for streams.
Key len = 128 byte
Block len = 128 byte
Namespace: LLCryptoLib.CryptoAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
[SerializableAttribute] public class StreamThreeFish1024 : StreamAlgorithm |
Visual Basic |
---|
<SerializableAttribute> _ Public Class StreamThreeFish1024 _ Inherits StreamAlgorithm |
Visual C++ |
---|
[SerializableAttribute] public ref class StreamThreeFish1024 : public StreamAlgorithm |
Examples
Perform a ThreeFish1024 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..::..StreamThreeFish1024
LLCryptoLib.Crypto..::..StreamAlgorithm
LLCryptoLib.Crypto..::..StreamThreeFish1024