Package org.bouncycastle.crypto.general
Class Twofish
java.lang.Object
org.bouncycastle.crypto.general.Twofish
Source class for implementations of Twofish based algorithms.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Factory for Twofish AEAD encryption/decryption operators.static final class
Parameters for Twofish AEAD and MAC modes.static final class
Twofish key generator.static final class
Factory for Twofish key wrap/unwrap operators.static final class
Factory for producing Twofish MAC calculators.static final class
Factory for basic Twofish encryption/decryption operators.static final class
Parameters for general Twofish block cipher modes.static final class
General WRAP operator parameters for KW and KWP. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GeneralAlgorithm
Raw Twofish algorithm, can be used for creating general purpose Twofish keys.static final Twofish.Parameters
Twofish in cipher block chaining (CBC) mode.static final Twofish.Parameters
Twofish in cipher block chaining mode cipher text stealing type 1.static final Twofish.Parameters
Twofish in cipher block chaining mode cipher text stealing type 2.static final Twofish.Parameters
Twofish in cipher block chaining mode cipher text stealing type 3.static final Twofish.Parameters
Twofish in cipher block chaining mode with ISO10126-2 padding.static final Twofish.Parameters
Twofish in cipher block chaining mode with ISO7816-4 padding.static final Twofish.Parameters
Twofish in cipher block chaining mode with PKCS#7/PKCS#5 padding.static final Twofish.Parameters
Twofish in cipher block chaining mode with trailing bit complement (TBC) padding.static final Twofish.Parameters
Twofish in cipher block chaining mode with X9.23 padding.static final Twofish.AuthParameters
Twofish in counter with CBC-MAC (CCM).static final Twofish.Parameters
Twofish in cipher feedback (CFB) mode, 128 bit block size.static final Twofish.Parameters
Twofish in cipher feedback (CFB) mode, 8 bit block size.static final Twofish.AuthParameters
Twofish cipher-based MAC algorithm.static final Twofish.Parameters
Twofish in counter (CTR) mode.static final Twofish.AuthParameters
Twofish in EAX mode.static final Twofish.Parameters
Twofish in electronic code book (ECB) mode.static final Twofish.Parameters
Twofish in electronic code book mode with ISO10126-2 padding.static final Twofish.Parameters
Twofish in electronic code book mode with ISO7816-4 padding.static final Twofish.Parameters
Twofish in electronic code book mode with PKCS#7/PKCS#5 padding.static final Twofish.Parameters
Twofish in electronic code book mode with trailing bit complement (TBC) padding.static final Twofish.Parameters
Twofish in electronic code book mode with X9.23 padding.static final Twofish.AuthParameters
Twofish in Galois/Counter Mode (GCM).static final Twofish.AuthParameters
Twofish cipher-based GMAC algorithm.static final Twofish.WrapParameters
Twofish as a FIPS/RFC 3394 key wrapper.static final Twofish.WrapParameters
Twofish as a FIPS/RFC 3394 key wrapper with padding.static final Twofish.AuthParameters
Twofish in offset code book (OCB) mode.static final Twofish.Parameters
Twofish in output feedback (OFB) mode.static final Twofish.Parameters
Twofish in OpenPGP cipher feedback (CFB) mode. -
Method Summary
-
Field Details
-
ALGORITHM
Raw Twofish algorithm, can be used for creating general purpose Twofish keys. -
ECB
Twofish in electronic code book (ECB) mode. -
ECBwithPKCS7
Twofish in electronic code book mode with PKCS#7/PKCS#5 padding. -
ECBwithISO10126_2
Twofish in electronic code book mode with ISO10126-2 padding. -
ECBwithX923
Twofish in electronic code book mode with X9.23 padding. -
ECBwithISO7816_4
Twofish in electronic code book mode with ISO7816-4 padding. -
ECBwithTBC
Twofish in electronic code book mode with trailing bit complement (TBC) padding. -
CBC
Twofish in cipher block chaining (CBC) mode. -
CBCwithPKCS7
Twofish in cipher block chaining mode with PKCS#7/PKCS#5 padding. -
CBCwithISO10126_2
Twofish in cipher block chaining mode with ISO10126-2 padding. -
CBCwithX923
Twofish in cipher block chaining mode with X9.23 padding. -
CBCwithISO7816_4
Twofish in cipher block chaining mode with ISO7816-4 padding. -
CBCwithTBC
Twofish in cipher block chaining mode with trailing bit complement (TBC) padding. -
CBCwithCS1
Twofish in cipher block chaining mode cipher text stealing type 1. -
CBCwithCS2
Twofish in cipher block chaining mode cipher text stealing type 2. -
CBCwithCS3
Twofish in cipher block chaining mode cipher text stealing type 3. -
CFB8
Twofish in cipher feedback (CFB) mode, 8 bit block size. -
CFB128
Twofish in cipher feedback (CFB) mode, 128 bit block size. -
OFB
Twofish in output feedback (OFB) mode. -
CTR
Twofish in counter (CTR) mode. -
GCM
Twofish in Galois/Counter Mode (GCM). -
CCM
Twofish in counter with CBC-MAC (CCM). -
OCB
Twofish in offset code book (OCB) mode. -
EAX
Twofish in EAX mode. -
OpenPGPCFB
Twofish in OpenPGP cipher feedback (CFB) mode. -
CMAC
Twofish cipher-based MAC algorithm. -
GMAC
Twofish cipher-based GMAC algorithm. -
KW
Twofish as a FIPS/RFC 3394 key wrapper. -
KWP
Twofish as a FIPS/RFC 3394 key wrapper with padding.
-