예제 #1
0
 byte[] implGetIV() {
   return cipher.getIV();
 }
예제 #2
0
 /**
  * Returns the initialization vector (IV) in a new buffer.
  *
  * <p>This is useful in the case where a random IV has been created (see <a href =
  * "#init">init</a>), or in the context of password-based encryption or decryption, where the IV
  * is derived from a user-provided password.
  *
  * @return the initialization vector in a new buffer, or null if the underlying algorithm does not
  *     use an IV, or if the IV has not yet been set.
  */
 protected byte[] engineGetIV() {
   return core.getIV();
 }