Base Cipher

constructor(algorithm: BaseCipher.Algorithm)

Constructor to init a BaseCipher object

Parameters

algorithm

: the algorithm used during the encryption and the decryption phases


constructor(cipher: Cipher)

Constructor to init a BaseCipher object

Parameters

cipher

: the cipher to manage the encryption and the decryption phases