1 7 8 15 16 package javax.crypto.spec; 17 18 import java.security.InvalidKeyException; 19 20 28 public class DESKeySpec implements java.security.spec.KeySpec 29 { 30 33 public static final int DES_KEY_LEN = 8; 34 35 50 public DESKeySpec(byte[] key) throws InvalidKeyException { } 51 52 71 public DESKeySpec(byte[] key, int offset) throws InvalidKeyException { } 72 73 79 public byte[] getKey() { } 80 81 96 public static boolean isParityAdjusted(byte[] key, int offset) 97 throws InvalidKeyException 98 { } 99 100 114 public static boolean isWeak(byte[] key, int offset) 115 throws InvalidKeyException 116 { } 117 } 118 | Popular Tags |