Class BlockCipher

    • Constructor Detail

      • BlockCipher

        public BlockCipher​(int ivsize,
                           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