CipherFactory
object CipherFactory
Companion for CipherFactory.
- Companion
- class
class Object
trait Matchable
class Any
Value members
Methods
def apply(transformation: String, initForEncryption: Cipher => Unit, initForDecryption: Cipher => Unit): CipherFactory
Creates a cipher factory for the specified transformation (via
and using the specified functions for initializing for encryption and decryption respectively.
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)
).Ciphers are initialized with the specified key only.