Note: In cases where the underlying algorithm is block based, these ciphers may add or remove padding as needed.
public interface ICipher
Public Interface ICipher
public interface class ICipher
Org.BouncyCastle.Crypto.ICipher = function();
Org.BouncyCastle.Crypto.ICipher.createInterface('Org.BouncyCastle.Crypto.ICipher');
Stream | Gets the stream for reading/writing data processed/to be processed. |
GetMaxOutputSize |
Return the size of the output buffer required for a Write() plus a
close() with the write() being passed inputLen bytes.
The returned size may be dependent on the initialisation of this cipher and may not be accurate once subsequent input data is processed as the cipher may add, add or remove padding, as it sees fit. |
GetUpdateOutputSize | Return the size of the output buffer required for a write() with the write() being passed inputLen bytes and just updating the cipher output. |