@Test public void testInit() { WeakCipherUtil.init(); }
public static void init() { hexToIdentifier = new ConcurrentHashMap<String, WeakCipherBlackList>(); WeakCipherBlackList[] list = WeakCipherBlackList.class.getEnumConstants(); for(WeakCipherBlackList weakCipher : list) { hexToIdentifier.put(weakCipher.toString(), weakCipher); } }
WeakCipherUtil { public static void init() { hexToIdentifier = new ConcurrentHashMap<String, WeakCipherBlackList>(); WeakCipherBlackList[] list = WeakCipherBlackList.class.getEnumConstants(); for(WeakCipherBlackList weakCipher : list) { hexToIdentifier.put(weakCipher.toString(), weakCipher); } } }
WeakCipherUtil { public static void init() { hexToIdentifier = new ConcurrentHashMap<String, WeakCipherBlackList>(); WeakCipherBlackList[] list = WeakCipherBlackList.class.getEnumConstants(); for(WeakCipherBlackList weakCipher : list) { hexToIdentifier.put(weakCipher.toString(), weakCipher); } }  }
WeakCipherUtil { public static void init() { hexToIdentifier = new ConcurrentHashMap<String, WeakCipherBlackList>(); WeakCipherBlackList[] list = WeakCipherBlackList.class.getEnumConstants(); for(WeakCipherBlackList weakCipher : list) { hexToIdentifier.put(weakCipher.toString(), weakCipher); } }  static void init(); static boolean containsKey(String cipherHex); static WeakCipherBlackList getCipherIdentifier(String cipherHex); }
WeakCipherUtil { public static void init() { hexToIdentifier = new ConcurrentHashMap<String, WeakCipherBlackList>(); WeakCipherBlackList[] list = WeakCipherBlackList.class.getEnumConstants(); for(WeakCipherBlackList weakCipher : list) { hexToIdentifier.put(weakCipher.toString(), weakCipher); } }  static void init(); static boolean containsKey(String cipherHex); static WeakCipherBlackList getCipherIdentifier(String cipherHex);  }