object CipherFactory
Companion for CipherFactory.
- Companion
- class
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.
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.