All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.security.IJCE_Traceable | +----java.security.Cipher | +----java.security.Mode | +----cryptix.provider.mode.FeedbackMode | +----cryptix.provider.mode.CFB | +----cryptix.provider.mode.CFB_PGP
The differences between this and standard CFB are that:
update
or crypt
), the CFB
shift register is encrypted, regardless of the current position
within a block.
Note that it is unusual for the output of a cipher to depend on the exact boundaries between data passed to each encryption/decryption call. Normally, the lengths of data passed to each call do not matter as long as they make up the correct input when concatenated together - but this class is an exception.
As a result, using this mode with CipherInputStream and CipherOutputStream may produce unexpected output, and is not recommended.
References
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.5 $
getInitializationVectorLength()
bytes of the stream (it will be visible as cleartext at the start
of the output stream).
getInitializationVectorLength()
bytes of the stream.
public CFB_PGP()
getInitializationVectorLength()
bytes of the stream (it will be visible as cleartext at the start
of the output stream).
The IV must be unique during the lifetime of the key. If it is not unique, at least the first block of the plaintext can be recovered.
public CFB_PGP(Cipher cipher)
getInitializationVectorLength()
bytes of the stream. See the previous constructor for more details.
protected int engineUpdate(byte in[], int inOffset, int inLen, byte out[], int outOffset)
All Packages Class Hierarchy This Package Previous Next Index