Lines Matching defs:in
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
87 private static void crypt(Cipher cipher, ByteBuffer in, ByteBuffer out, byte[] outBytes, Random random) throws Exception {
88 in.clear();
92 int lim = in.limit();
93 in.limit(random.nextInt(lim));
94 cipher.update(in, out);
95 if (in.hasRemaining()) {
98 in.limit(lim);
99 cipher.doFinal(in, out);
100 if (in.hasRemaining()) {