Class AESCipherCBCnoPad


  • public class AESCipherCBCnoPad
    extends java.lang.Object
    Creates an AES Cipher with CBC and no padding.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.bouncycastle.crypto.BlockCipher cbc  
    • Constructor Summary

      Constructors 
      Constructor Description
      AESCipherCBCnoPad​(boolean forEncryption, byte[] key)
      Creates a new instance of AESCipher
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] processBlock​(byte[] inp, int inpOff, int inpLen)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • cbc

        private org.bouncycastle.crypto.BlockCipher cbc
    • Constructor Detail

      • AESCipherCBCnoPad

        public AESCipherCBCnoPad​(boolean forEncryption,
                                 byte[] key)
        Creates a new instance of AESCipher
    • Method Detail

      • processBlock

        public byte[] processBlock​(byte[] inp,
                                   int inpOff,
                                   int inpLen)