Class CAST5

java.lang.Object
org.bouncycastle.crypto.general.CAST5

public final class CAST5 extends Object
Source class for implementations of CAST5 based algorithms.
  • Field Details

    • ALGORITHM

      public static final GeneralAlgorithm ALGORITHM
      Raw CAST5 algorithm, can be used for creating general purpose CAST5 keys.
    • ECB

      public static final CAST5.Parameters ECB
      CAST5 in electronic code book (ECB) mode.
    • ECBwithPKCS7

      public static final CAST5.Parameters ECBwithPKCS7
      CAST5 in electronic code book mode with PKCS#7/PKCS#5 padding.
    • ECBwithISO10126_2

      public static final CAST5.Parameters ECBwithISO10126_2
      CAST5 in electronic code book mode with ISO10126-2 padding.
    • ECBwithX923

      public static final CAST5.Parameters ECBwithX923
      CAST5 in electronic code book mode with X9.23 padding.
    • ECBwithISO7816_4

      public static final CAST5.Parameters ECBwithISO7816_4
      CAST5 in electronic code book mode with ISO7816-4 padding.
    • ECBwithTBC

      public static final CAST5.Parameters ECBwithTBC
      CAST5 in electronic code book mode with trailing bit complement (TBC) padding.
    • CBC

      public static final CAST5.Parameters CBC
      CAST5 in cipher block chaining (CBC) mode.
    • CBCwithPKCS7

      public static final CAST5.Parameters CBCwithPKCS7
      CAST5 in cipher block chaining mode with PKCS#7/PKCS#5 padding.
    • CBCwithISO10126_2

      public static final CAST5.Parameters CBCwithISO10126_2
      CAST5 in cipher block chaining mode with ISO10126-2 padding.
    • CBCwithX923

      public static final CAST5.Parameters CBCwithX923
      CAST5 in cipher block chaining mode with X9.23 padding.
    • CBCwithISO7816_4

      public static final CAST5.Parameters CBCwithISO7816_4
      CAST5 in cipher block chaining mode with ISO7816-4 padding.
    • CBCwithTBC

      public static final CAST5.Parameters CBCwithTBC
      CAST5 in cipher block chaining mode with trailing bit complement (TBC) padding.
    • CBCwithCS1

      public static final CAST5.Parameters CBCwithCS1
      CAST5 in cipher block chaining mode cipher text stealing type 1.
    • CBCwithCS2

      public static final CAST5.Parameters CBCwithCS2
      CAST5 in cipher block chaining mode cipher text stealing type 2.
    • CBCwithCS3

      public static final CAST5.Parameters CBCwithCS3
      CAST5 in cipher block chaining mode cipher text stealing type 3.
    • CFB8

      public static final CAST5.Parameters CFB8
      CAST5 in cipher feedback (CFB) mode, 8 bit block size.
    • CFB64

      public static final CAST5.Parameters CFB64
      CAST5 in cipher feedback (CFB) mode, 64 bit block size.
    • OFB

      public static final CAST5.Parameters OFB
      CAST5 in output feedback (OFB) mode, 64 bit block size.
    • CTR

      public static final CAST5.Parameters CTR
      CAST5 in counter (CTR) mode.
    • EAX

      public static final CAST5.AuthParameters EAX
      CAST5 in EAX mode..
    • OpenPGPCFB

      public static final CAST5.Parameters OpenPGPCFB
      CAST5 in OpenPGP cipher feedback (CFB) mode.
    • CMAC

      public static final CAST5.AuthParameters CMAC
      CAST5 cipher-based MAC algorithm.