CipherFactory

Companion for CipherFactory.

Companion:
class
Source:
CipherCodec.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(transformation: String, initForEncryption: Cipher => Unit, initForDecryption: Cipher => Unit): CipherFactory

Creates a cipher factory for the specified transformation (via Cipher.getInstance(transformation)) and using the specified functions for initializing for encryption and decryption respectively.

Creates a cipher factory for the specified transformation (via Cipher.getInstance(transformation)) and using the specified functions for initializing for encryption and decryption respectively.

Source:
CipherCodec.scala
def apply(transformation: String, key: Key): CipherFactory

Creates a cipher factory for the specified transformation (via Cipher.getInstance(transformation)).

Creates a cipher factory for the specified transformation (via Cipher.getInstance(transformation)).

Ciphers are initialized with the specified key only.

Source:
CipherCodec.scala
def apply(transformation: String, key: Key, spec: AlgorithmParameterSpec): CipherFactory

Creates a cipher factory for the specified transformation (via Cipher.getInstance(transformation)).

Creates a cipher factory for the specified transformation (via Cipher.getInstance(transformation)).

Ciphers are initialized with the specified key and algorithm parameter specification.

Source:
CipherCodec.scala