double chunkBytes = entry.length / 2.0;
Amount<Integer, Data> chunkSize = Amount.of((int) Math.floor(chunkBytes), Data.BYTES);
int chunkLength = chunkSize.getValue();
int chunkCount = (int) Math.ceil(entry.length / (double) chunkSize.getValue());
Frame header = Frame.header(new FrameHeader(chunkCount,
ByteBuffer.wrap(MessageDigest.getInstance("MD5").digest(entry))));
List<Frame> chunks = Lists.newArrayList();
for (int i = 0; i < chunkCount; i++) {
int offset = i * chunkLength;