Lines Matching defs:plain
121 * <p>The input plain text <code>plain</code>, starting at
127 * @param plain the buffer with the input data to be encrypted
128 * @param plainOffset the offset in <code>plain</code>
136 int encrypt(byte[] plain, int plainOffset, int plainLen,
148 k[i] ^= plain[i + plainOffset];
152 k[i] = (byte)(plain[i + plainOffset] ^ cipher[i + cipherOffset]);
164 * The result is stored in <code>plain</code>, starting at
170 * @param plain the buffer for the result
171 * @param plainOffset the offset in <code>plain</code>
177 byte[] plain, int plainOffset)
188 plain, plainOffset);
190 plain[i + plainOffset] ^= k[i];
193 k[i] = (byte)(plain[i + plainOffset] ^ cipher[i + cipherOffset]);