setAlgorithm

open fun setAlgorithm(algorithm: BaseCipher.Algorithm)

Method to set algorithm instance

Parameters

algorithm

: used during the encryption and the decryption phases