Lines Matching defs:data
137 public abstract byte[] encrypt(byte[] data, byte[] key, int usage)
140 public abstract byte[] encrypt(byte[] data, byte[] key, byte[] ivec,
149 public int dataSize(byte[] data)
152 // EncodeRef ref = new EncodeRef(data, startOfData());
155 // implementations include the pad bytes in the data size
156 return data.length - startOfData();
159 public int padSize(byte[] data) {
160 return data.length - confounderSize() - checksumSize() -
161 dataSize(data);
172 public int startOfPad(byte[] data) {
173 return confounderSize() + checksumSize() + dataSize(data);
176 public byte[] decryptedData(byte[] data) {
177 int tempSize = dataSize(data);
179 System.arraycopy(data, startOfData(), result, 0, tempSize);