Class CipherPair


  • public class CipherPair
    extends Object
    A class to hold a pair of encryption and decryption ciphers.
    • Method Detail

      • getTransformation

        public String getTransformation()
      • getEncryptor

        public Cipher getEncryptor()
      • createDecryptor

        public Cipher createDecryptor()
        Create the decryptor every time because the decryptor is not thead safe. For example, if you reuse the decryptor instance in the Multi-cast case then you will get errors.