StreamCipherFilter

Stream Cipher Filter

Constructors

this
this(StreamCipher stream_cipher)

Construct a stream cipher filter.

this
this(StreamCipher stream_cipher, SymmetricKey key)

Construct a stream cipher filter.

this
this(string sc_name)

Construct a stream cipher filter.

this
this(string sc_name, SymmetricKey key)

Construct a stream cipher filter.

Members

Functions

attachable
bool attachable()
Undocumented in source. Be warned that the author may not have intended to support it.
endMsg
void endMsg()
Undocumented in source. Be warned that the author may not have intended to support it.
keySpec
KeyLengthSpecification keySpec()
Undocumented in source. Be warned that the author may not have intended to support it.
setIv
void setIv(InitializationVector iv)

Set the initialization vector for this filter.

setKey
void setKey(SymmetricKey key)

Set the key of this filter.

setNext
void setNext(Filter* filters, size_t sz)
Undocumented in source. Be warned that the author may not have intended to support it.
startMsg
void startMsg()
Undocumented in source. Be warned that the author may not have intended to support it.
validIvLength
bool validIvLength(size_t iv_len)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(const(ubyte)* input, size_t length)

Write input data

Properties

name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From KeyedFilter

setKey
void setKey(SymmetricKey key)

Set the key of this filter

setIv
void setIv(InitializationVector iv)

Set the initialization vector of this filter. Note: you should call setIv() only after you have called setKey()

validKeylength
bool validKeylength(size_t length)

Check whether a key length is valid for this filter

keySpec
KeyLengthSpecification keySpec()
validIvLength
bool validIvLength(size_t length)

Check whether an IV length is valid for this filter

Meta