Class Twofish128CTR

  • All Implemented Interfaces:
    Cipher

    public class Twofish128CTR
    extends java.lang.Object
    • Constructor Detail

      • Twofish128CTR

        public Twofish128CTR()
    • Method Detail

      • getBlockSize

        public int getBlockSize()
      • getIVSize

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

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

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

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