Class CAST5


  • public final class CAST5
    extends java.lang.Object
    Source class for implementations of CAST5 based algorithms.
    • Field Detail

      • 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.
      • OpenPGPCFB

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