java.lang.Object
io.github.tonywasher.joceanus.gordianknot.api.cipher.GordianSymKeySpecBuilder

public final class GordianSymKeySpecBuilder extends Object
SymKey specification Builder.
  • Method Details

    • aes

      public static GordianSymKeySpec aes(GordianLength pKeyLength)
      Create aesKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • serpent

      public static GordianSymKeySpec serpent(GordianLength pKeyLength)
      Create serpentKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • twoFish

      public static GordianSymKeySpec twoFish(GordianLength pKeyLength)
      Create twoFishKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • threeFish

      public static GordianSymKeySpec threeFish(GordianLength pKeyLength)
      Create threeFishKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • camellia

      public static GordianSymKeySpec camellia(GordianLength pKeyLength)
      Create camelliaKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • rc2

      public static GordianSymKeySpec rc2(GordianLength pKeyLength)
      Create rc2KeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • rc5

      public static GordianSymKeySpec rc5()
      Create rc5KeySpec.
      Returns:
      the keySpec
    • rc5

      public static GordianSymKeySpec rc5(GordianLength pBlockLength)
      Create rc5KeySpec.
      Parameters:
      pBlockLength - the blockLength
      Returns:
      the keySpec
    • rc6

      public static GordianSymKeySpec rc6(GordianLength pKeyLength)
      Create rc6KeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • cast5

      public static GordianSymKeySpec cast5()
      Create cast5KeySpec.
      Returns:
      the keySpec
    • cast6

      public static GordianSymKeySpec cast6(GordianLength pKeyLength)
      Create cast6KeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • aria

      public static GordianSymKeySpec aria(GordianLength pKeyLength)
      Create ariaKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • sm4

      public static GordianSymKeySpec sm4()
      Create sm4KeySpec.
      Returns:
      the keySpec
    • noekeon

      public static GordianSymKeySpec noekeon()
      Create noeKeonKeySpec.
      Returns:
      the keySpec
    • seed

      public static GordianSymKeySpec seed()
      Create seedKeySpec.
      Returns:
      the keySpec
    • tea

      public static GordianSymKeySpec tea()
      Create teaKeySpec.
      Returns:
      the keySpec
    • xtea

      public static GordianSymKeySpec xtea()
      Create xteaKeySpec.
      Returns:
      the keySpec
    • idea

      public static GordianSymKeySpec idea()
      Create ideaKeySpec.
      Returns:
      the keySpec
    • skipjack

      public static GordianSymKeySpec skipjack()
      Create skipjackKeySpec.
      Returns:
      the keySpec
    • desede

      public static GordianSymKeySpec desede(GordianLength pKeyLength)
      Create desedeKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • blowfish

      public static GordianSymKeySpec blowfish(GordianLength pKeyLength)
      Create blowfishKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • kalyna

      public static GordianSymKeySpec kalyna(GordianLength pKeyLength)
      Create kalynaKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • kalyna

      public static GordianSymKeySpec kalyna(GordianLength pBlockLength, GordianLength pKeyLength)
      Create kalynaKeySpec.
      Parameters:
      pBlockLength - the block length
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • speck

      public static GordianSymKeySpec speck(GordianLength pKeyLength)
      Create speckKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • simon

      public static GordianSymKeySpec simon(GordianLength pKeyLength)
      Create simonKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • mars

      public static GordianSymKeySpec mars(GordianLength pKeyLength)
      Create marsKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • anubis

      public static GordianSymKeySpec anubis(GordianLength pKeyLength)
      Create anubisKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec
    • lea

      public static GordianSymKeySpec lea(GordianLength pKeyLength)
      Create leaKeySpec.
      Parameters:
      pKeyLength - the keyLength
      Returns:
      the keySpec