Code example for CipherInputStream

0
 
                        iterationCount = dIn.readInt();
 
                        cipher = makePBECipher("Broken" + KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount);
 
                        cIn = new CipherInputStream(dIn, cipher);
 
                        Key k = null;
 
                        try 
                        { 
                            k = decodeKey(new DataInputStream(cIn));
                        } 
                        catch (Exception y)
                        { 
                            bIn = new ByteArrayInputStream((byte[])obj);
                            dIn = new DataInputStream(bIn);
                 
                            salt = new byte[dIn.readInt()];
 
Connect your IDE to all the code out there  Get Codota for Java