Class OldCTSBlockCipher

java.lang.Object
org.bouncycastle.crypto.DefaultBufferedBlockCipher
org.bouncycastle.crypto.modes.OldCTSBlockCipher
All Implemented Interfaces:
BufferedBlockCipher

public class OldCTSBlockCipher extends DefaultBufferedBlockCipher
A Cipher Text Stealing (CTS) mode cipher. CTS allows block ciphers to be used to produce cipher text which is the same length as the plain text.

This version applies the CTS algorithm from one block up, rather than following the errata update issued in 2004, where CTS mode is applied from greater than 1 block up and the first block is processed using CBC mode.