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.OFB
The full block size of the supplied cipher is used for the Output Feedback Mode. The bytes supplied are processed and returned immediately.
References:
sci.crypt FAQ, "Part 5: Product Ciphers,"
ftp://ftp.rtfm.mit.edu/pub/usenet/news.answers/cryptography-faq/part05
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.5 $
setInitializationVector.
setInitializationVector.
public OFB()
setInitializationVector.
The IV value must be unique during the lifetime of the key. If it is not unique, and an attacker has access to a different message encrypted under the same IV and key, all of the plaintext can normally be recovered.
public OFB(Cipher cipher)
setInitializationVector.
See the previous constructor for more details.
public OFB(Cipher cipher,
byte iv[])
The IV value must be unique during the lifetime of the key. If it is not unique, and an attacker has access to a different message encrypted under the same IV and key, all of the plaintext can normally be recovered.
protected int engineBlockSize()
protected void engineInitEncrypt(Key newkey) throws KeyException
protected void engineInitDecrypt(Key newkey) throws KeyException
protected int engineUpdate(byte in[],
int inOffset,
int inLen,
byte out[],
int outOffset)
in and out may be the same array, and the
input and output regions may overlap.
in specifying where
the data starts.
out array.
All Packages Class Hierarchy This Package Previous Next Index