Clone wiki

TForge / Classes / TStreamCipher / TStreamCipher

type TStreamCipher


Unit: tfCiphers


Class Methods
GetInstance Creates TStreamCipher instance implementing a given algorithm
AES Creates TStreamCipher instance implementing AES algorithm
DES Creates TStreamCipher instance implementing DES algorithm
TripleDES Creates TStreamCipher instance implementing TripleDES algorithm
RC4 Creates TStreamCipher instance implementing RC4 algorithm
RC5 Creates TStreamCipher instance implementing RC5 algorithm
Salsa20 Creates TStreamCipher instance implementing Salsa20 algorithm
ChaCha20 Creates TStreamCipher instance implementing ChaCha20 algorithm
Instance Methods
Apply Applies keystream to a memory data
ApplyTo Applies keystream to a memory data
ApplyToByteArray Applies keystream to a byte array
ApplyToFile Applies keystream to a file
ApplyToStream Applies keystream to a stream of data
Burn Destroys data stored in TStreamCipher instance
Copy Duplicates TStreamCipher instance
ExpandKey Expands a secret key into a form used by an algorithm
Free Uninstantiates TStreamCipher variable
IsAssigned Checks if TStreamCipher variable is instantiated
KeyStream Generates a given number of keystream bytes
GetKeyStream Generates a given number of keystream bytes
Skip Skips a given number of keystream bytes
Properties
Nonce Nonce value of a TStreamCipher instance
Operators
Explicit Creates TStreamCipher instance implementing a given algorithm

Updated