fixed packet order and cipher text, only exponent bug remaining