encrypt for CGMovePacket Dir