All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tsec.cipher.symmetric.jca.IvProcess.scala Maven / Gradle / Ivy

The newest version!
package tsec.cipher.symmetric.jca

import javax.crypto.{Cipher => JCipher, SecretKey => JSecretKey}

private[tsec] trait IvProcess[C, M, P] {

  def ivLengthBytes: Int

  private[tsec] def encryptInit(cipher: JCipher, iv: Array[Byte], key: JSecretKey): Unit

  private[tsec] def decryptInit(cipher: JCipher, iv: Array[Byte], key: JSecretKey): Unit
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy