Class NISTCTSBlockCipher

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

public class NISTCTSBlockCipher 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 class implements the NIST version as documented in "Addendum to NIST SP 800-38A, Recommendation for Block Cipher Modes of Operation: Three Variants of Ciphertext Stealing for CBC Mode"