Package org.bouncycastle.crypto.general
Class CAST5
- java.lang.Object
-
- org.bouncycastle.crypto.general.CAST5
-
public final class CAST5 extends java.lang.Object
Source class for implementations of CAST5 based algorithms.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CAST5.AEADOperatorFactory
Factory for CAST5 AEAD encryption/decryption operators.static class
CAST5.AuthParameters
Parameters for CAST5 AEAD and MAC modes..static class
CAST5.KeyGenerator
CAST5 key generator.static class
CAST5.MACOperatorFactory
Factory for producing CAST5 MAC calculators.static class
CAST5.OperatorFactory
Factory for basic CAST5 encryption/decryption operators.static class
CAST5.Parameters
Parameters for general CAST5 block cipher modes.
-
Field Summary
Fields Modifier and Type Field Description static GeneralAlgorithm
ALGORITHM
Raw CAST5 algorithm, can be used for creating general purpose CAST5 keys.static CAST5.Parameters
CBC
CAST5 in cipher block chaining (CBC) mode.static CAST5.Parameters
CBCwithCS1
CAST5 in cipher block chaining mode cipher text stealing type 1.static CAST5.Parameters
CBCwithCS2
CAST5 in cipher block chaining mode cipher text stealing type 2.static CAST5.Parameters
CBCwithCS3
CAST5 in cipher block chaining mode cipher text stealing type 3.static CAST5.Parameters
CBCwithISO10126_2
CAST5 in cipher block chaining mode with ISO10126-2 padding.static CAST5.Parameters
CBCwithISO7816_4
CAST5 in cipher block chaining mode with ISO7816-4 padding.static CAST5.Parameters
CBCwithPKCS7
CAST5 in cipher block chaining mode with PKCS#7/PKCS#5 padding.static CAST5.Parameters
CBCwithTBC
CAST5 in cipher block chaining mode with trailing bit complement (TBC) padding.static CAST5.Parameters
CBCwithX923
CAST5 in cipher block chaining mode with X9.23 padding.static CAST5.Parameters
CFB64
CAST5 in cipher feedback (CFB) mode, 64 bit block size.static CAST5.Parameters
CFB8
CAST5 in cipher feedback (CFB) mode, 8 bit block size.static CAST5.AuthParameters
CMAC
CAST5 cipher-based MAC algorithm.static CAST5.Parameters
CTR
CAST5 in counter (CTR) mode.static CAST5.AuthParameters
EAX
CAST5 in EAX mode..static CAST5.Parameters
ECB
CAST5 in electronic code book (ECB) mode.static CAST5.Parameters
ECBwithISO10126_2
CAST5 in electronic code book mode with ISO10126-2 padding.static CAST5.Parameters
ECBwithISO7816_4
CAST5 in electronic code book mode with ISO7816-4 padding.static CAST5.Parameters
ECBwithPKCS7
CAST5 in electronic code book mode with PKCS#7/PKCS#5 padding.static CAST5.Parameters
ECBwithTBC
CAST5 in electronic code book mode with trailing bit complement (TBC) padding.static CAST5.Parameters
ECBwithX923
CAST5 in electronic code book mode with X9.23 padding.static CAST5.Parameters
OFB
CAST5 in output feedback (OFB) mode, 64 bit block size.static CAST5.Parameters
OpenPGPCFB
CAST5 in OpenPGP cipher feedback (CFB) mode.
-
-
-
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.
-
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.
-
-