Class DesEdeParameters


  • public class DesEdeParameters
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isActuallyDesKey​(byte[] key)  
      static boolean isReal2Key​(byte[] key)  
      static boolean isReal3Key​(byte[] key)  
      static boolean isRealEDEKey​(byte[] key)  
      static boolean isWeakKey​(byte[] key, int offset, int length)
      return true if the passed in key is a DES-EDE weak key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DesEdeParameters

        public DesEdeParameters()
    • Method Detail

      • isWeakKey

        public static boolean isWeakKey​(byte[] key,
                                        int offset,
                                        int length)
        return true if the passed in key is a DES-EDE weak key.
        Parameters:
        key - bytes making up the key
        offset - offset into the byte array the key starts at
        length - number of bytes making up the key
      • isRealEDEKey

        public static boolean isRealEDEKey​(byte[] key)
      • isReal2Key

        public static boolean isReal2Key​(byte[] key)
      • isReal3Key

        public static boolean isReal3Key​(byte[] key)
      • isActuallyDesKey

        public static boolean isActuallyDesKey​(byte[] key)