222324252627282930
pbe.initialise(); byte[] b = pbe.encrypt("hello".getBytes(), null); assertNotSame(new String(b), "hello"); String s = new String(pbe.decrypt(b, null), "UTF-8"); assertEquals("hello", s); } }
252627282930313233