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