Class AES128CTR

  • All Implemented Interfaces:
    Cipher

    public class AES128CTR
    extends Object
    implements Cipher
    • Constructor Detail

      • AES128CTR

        public AES128CTR()
    • Method Detail

      • getIVSize

        public int getIVSize()
        Specified by:
        getIVSize in interface Cipher
      • getBlockSize

        public int getBlockSize()
        Specified by:
        getBlockSize in interface Cipher
      • init

        public void init​(int mode,
                         byte[] key,
                         byte[] iv)
                  throws Exception
        Specified by:
        init in interface Cipher
        Throws:
        Exception
      • update

        public void update​(byte[] foo,
                           int s1,
                           int len,
                           byte[] bar,
                           int s2)
                    throws Exception
        Specified by:
        update in interface Cipher
        Throws:
        Exception
      • isCBC

        public boolean isCBC()
        Specified by:
        isCBC in interface Cipher