USING IT AND RESULTSالاستخدام والنتائج / COUNTING THE VOTESفرز الأصوات
YASFORCODE
0.4K WORDS | SIMPLIFIED FROM MY 2021 MASTER'S THESIS | YASSER AHMED386 كلمة | مبسط من رسالة ماجستير 2021 | ياسر أحمد

How are the votes counted and the result announced?كيف تفرز الأصوات وتعلن النتيجة

Four steps from encrypted blocks to a result: close the polls, check the chain, decrypt the data, add it up.أربع خطوات من كتل مشفرة إلى نتيجة إغلاق الاقتراع ثم فحص السلسلة ثم فك البيانات ثم العد

A B CMOST VOTESالأكثر أصواتا

Voting time is over. The system holds a number of voting transactions stored in blocks, and their data is encrypted. Announcing a winner means reading the choices and counting them. How do we get from encrypted data to a result anyone can understand?انتهى وقت الاقتراع وأصبح لدى النظام عدد من معاملات التصويت المحفوظة في كتل وبيانات هذه المعاملات مشفرة لكن إعلان الفائز يتطلب قراءة الاختيارات وعدها فكيف ننتقل من بيانات مشفرة إلى نتيجة مفهومة

CLOSE THE POLLSإغلاق الاقتراعCHECK THE CHAINفحص السلسلةDECRYPT THE DATAفك البياناتCOUNT + ANNOUNCEالعد والإعلان01020304

1 · Close vote intakeأولا إغلاق استقبال الأصوات

The system should stop accepting new votes when the set period ends, according to the election rules. From then on, the priority is checking the records that already exist, not creating new ones.يفترض أن يتوقف النظام عن قبول أصوات جديدة عند انتهاء الفترة المحددة وفق قواعد الانتخابات وبعد ذلك تصبح الأولوية للتحقق من السجلات الموجودة بالفعل لا لإنشاء أصوات جديدة

06:0008:0010:0012:0014:0016:0018:0020:0022:00PORTAL OPENالبوابة مفتوحةCLOSEDمغلقة

2 · Check the chain's integrityثانيا فحص سلامة السلسلة

Before relying on the transactions, the system can review how the blocks are linked. Does each block point to the correct fingerprint of the one before it? Do the fingerprints match the content? Did every block meet the required proof?قبل الاعتماد على المعاملات يمكن للنظام مراجعة ترابط الكتل هل كل كتلة تشير إلى البصمة الصحيحة للكتلة السابقة وهل تتوافق البصمات مع المحتوى وهل استوفت الكتل شروط الإثبات المطلوبة

#1#2#3#4#5#6EVERY LINK CHECKED BEFORE A SINGLE VOTE IS READتفحص كل الروابط قبل قراءة أي صوت

This check doesn't reveal who anyone voted for. It shows whether the records the count will rest on are consistent with the chain's rules.هذا الفحص لا يخبرنا لمن صوت الناخب بل يساعد على معرفة ما إذا كانت السجلات التي سيبنى عليها العد متسقة مع قواعد السلسلة

3 · Decrypt the vote dataثالثا فك بيانات الأصوات

The administrator creates the encryption key when the election starts, and the same key returns the encrypted voting data to readable form at counting time. What gets decrypted is the data inside the blocks, not "the blockchain" as a linked structure.ينشئ المشرف مفتاح التشفير عند بدء الانتخابات ويستخدم المفتاح نفسه لإعادة بيانات التصويت المشفرة إلى صورتها القابلة للقراءة عند الفرز والمقصود هنا فك البيانات الموجودة داخل الكتل لا فك سلسلة الكتل بوصفها بنية مترابطة

Once each record is readable again, the chosen candidate can be taken from it and added to the count.وعندما يعود كل سجل إلى صيغته المقروءة يمكن استخراج اختيار المرشح منه وإدخاله في عملية العد

4 · Tally and announceرابعا جمع الأصوات وإعلان النتيجة

The system counts the votes for each candidate and shows the results on the web portal. In the illustrative example below, three records for candidate A and two for candidate B give a count of 3 to 2. These numbers aren't the thesis's experimental results.يحصي النظام الأصوات المرتبطة بكل مرشح ثم يعرض النتائج في البوابة الإلكترونية وفي المثال التوضيحي أدناه ثلاثة سجلات للمرشح أ وسجلان للمرشح ب فتكون نتيجة العد 3 مقابل 2 ولا تمثل هذه الأرقام نتائج تجربة الرسالة

ENCRYPTED IN THE CHAINمشفر في السلسلةDECRYPTEDبعد الفكBFC62769291284588C2AB525…KID41|CAND-A|20222C35A4DF25348106D34C0431…KID42|CAND-B|202296A63967CC3A0321D0A6DD4F…KID43|CAND-A|2022E6CF001AF77C8EB9B559B179…KID44|CAND-A|202254631A4CB4D9D1054097FBFA…KID45|CAND-B|2022Aأ3Bب2TALLYالعدREAL CIPHERTEXTS OF FIVE ILLUSTRATIVE VOTES · SAME DEMO KEY AS THE ENCRYPTION CHAPTERنصوص مشفرة حقيقية لخمسة أصوات توضيحية بالمفتاح نفسه في فصل التشفير

What this process proves, and what it doesn'tماذا يثبت هذا المسار وماذا لا يثبت

It shows how records can be stored, checked for consistency, then decrypted and counted. It doesn't make the result automatically infallible. The final count also depends on the voter's choice being recorded correctly in the first place, on sound software, on protected keys, and on no ineligible transactions getting in.يوضح المسار كيف يمكن حفظ السجلات والتحقق من اتساقها ثم فكها وعدها لكنه لا يجعل النتيجة معصومة تلقائيا فصحة العد النهائي تعتمد أيضا على صحة تسجيل اختيار الناخب من الأصل وسلامة البرمجيات وحماية المفاتيح وعدم إدخال معاملات غير مستحقة

Three questions need keeping apart: was the vote recorded? Was it recorded as the voter intended? Was it counted as recorded? The prototype covers parts of this, but it doesn't offer a complete proof across every level of election verification.ومن الضروري التمييز بين ثلاثة أسئلة هل سجل الصوت وهل سجل كما أراده الناخب وهل احتسب كما سجل ويوفر النموذج أجزاء من هذه العملية لكنه لا يقدم برهانا شاملا على جميع مستويات التحقق الانتخابي

VOTER'S INTENTما أراده الناخبTHE RECORDالسجلTHE RESULTالنتيجة1WAS IT RECORDED?هل سجل الصوت2AS INTENDED?كما أراده الناخب3COUNTED AS RECORDED?احتسب كما سجل

Now the practical test: did this design work in the experiment, and how long did its operations take?الآن نصل إلى الاختبار العملي هل عمل هذا التصميم في التجربة وكم استغرقت عملياته

This chapter corresponds to section 3.4 of the original thesis.هذا الفصل يقابل القسم 3.4 في الرسالة الأصلية
0.00