Class Serpent

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

public final class Serpent extends Object
The Serpent encryption algorithm.
  • Field Details

    • ALGORITHM

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static final Serpent.Parameters CFB128
      Serpent in cipher feedback (CFB) mode, 128 bit block size.
    • OFB

      public static final Serpent.Parameters OFB
      Serpent in output feedback (OFB) mode.
    • CTR

      public static final Serpent.Parameters CTR
      Serpent in counter (CTR) mode.
    • GCM

      public static final Serpent.AuthParameters GCM
      Serpent in Galois/Counter Mode (GCM).
    • CCM

      public static final Serpent.AuthParameters CCM
      Serpent in counter with CBC-MAC (CCM).
    • OCB

      public static final Serpent.AuthParameters OCB
      Serpent in offset code book (OCB) mode.
    • EAX

      public static final Serpent.AuthParameters EAX
      Serpent in EAX mode.
    • CMAC

      public static final Serpent.AuthParameters CMAC
      Serpent cipher-based MAC algorithm.
    • GMAC

      public static final Serpent.AuthParameters GMAC
      Serpent cipher-based GMAC algorithm.
    • KW

      public static final Serpent.WrapParameters KW
      Serpent as a FIPS/RFC 3394 key wrapper.
    • KWP

      public static final Serpent.WrapParameters KWP
      Serpent as a FIPS/RFC 3394 key wrapper with padding.