-
public interface FeedbackCipher
This interface represents the type of cipher that has a feedback mechanism built into it, such as CBC or CFB.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getFeedback()
Gets the name of the feedback mechanismbyte[]
getIV()
Gets the initialization vector.void
reset()
Resets the iv to its original value.
-
-
-
Method Detail
-
getFeedback
java.lang.String getFeedback()
Gets the name of the feedback mechanism- Returns:
- the name of the feedback mechanism
-
getIV
byte[] getIV()
Gets the initialization vector.- Returns:
- the initialization vector
-
reset
void reset()
Resets the iv to its original value. This is used when doFinal is called in the Cipher class, so that the cipher can be reused (with its original iv).
-
-