Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: BufferedImage bImageFromConvert = ImageIO.read(in); ImageIO.write(bImageFromConvert, "jpg", new File( path)); }catch(Exception e) { e.printStackTrace(); } } public static void main(String args []){ final String strPassword = "password12345678"; SecretKeySpec initVector = new SecretKeySpec(strPassword.getBytes(), "AES"); AlgorithmParameterSpec paramSpec = new IvParameterSpec(strPassword.getBytes()); try{ Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); cip Source: http://pastebin.com/raw.php?i=8b2nT8zx
↧