added packet decrypt