minor changes to receiving encrypted header
changed key used in encryption from big to little endian, am now storing key state in the controller rather than two separate key states in send and rcv
got encrypted send working
got encrypted send working