Interface Cipher

All Known Implementing Classes:
AES128CBC, AES128CTR, AES192CBC, AES192CTR, AES256CBC, AES256CTR, ARCFOUR, ARCFOUR128, ARCFOUR256, BlowfishCBC, CipherNone, TripleDESCBC, TripleDESCTR

public interface Cipher
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    void
    init(int mode, byte[] key, byte[] iv)
     
    boolean
     
    void
    update(byte[] foo, int s1, int len, byte[] bar, int s2)
     
  • Field Details

  • Method Details

    • getIVSize

      int getIVSize()
    • getBlockSize

      int getBlockSize()
    • init

      void init(int mode, byte[] key, byte[] iv) throws Exception
      Throws:
      Exception
    • update

      void update(byte[] foo, int s1, int len, byte[] bar, int s2) throws Exception
      Throws:
      Exception
    • isCBC

      boolean isCBC()