Class StreamCipher

  • All Implemented Interfaces:
    Cipher

    public class StreamCipher
    extends BaseCipher
    • Constructor Detail

      • StreamCipher

        public StreamCipher​(int bsize,
                            java.lang.String algorithm,
                            java.lang.String transformation)
    • Method Detail

      • initCipher

        protected void initCipher​(javax.crypto.Cipher cipher,
                                  Cipher.Mode mode,
                                  byte[] key,
                                  byte[] iv)
                           throws java.security.InvalidKeyException,
                                  java.security.InvalidAlgorithmParameterException
        Specified by:
        initCipher in class BaseCipher
        Throws:
        java.security.InvalidKeyException
        java.security.InvalidAlgorithmParameterException