   boolean byteReady = collectBit(pinVal, &currentByte);
  
   if (byteReady){
-    Serial.println(currentByte);
+    //Serial.println("ByteCollected");
     boolean poolFull = collectByte(currentByte);
     if (poolFull){
       conditionPool();


  sei();

  Serial.begin(9600);
  Serial.println("Starting...");

  //Set D pins to input
  DDRD = 0x00;
  
  aes128.setKey(key, aes128.keySize());
} 



#include "AES.h"
#include "CBC.h"

#define CHAIN_SIZE 2
#define BLOCK_SIZE 16
#define SAMPLE_SIZE (BLOCK_SIZE * CHAIN_SIZE)

byte key[16] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
                    0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F};

CBC<AES128> cbc;


byte sourcePool[SAMPLE_SIZE];
 
