We're used to voting at polling stations. Staff check who we are, then we drop our choice into a sealed box. But what if we could vote from home, with one click?اعتدنا أن نصوت في مراكز الاقتراع يتحقق الموظف من هويتنا ثم نضع اختيارنا في صندوق مغلق لكن ماذا لو أردنا التصويت من المنزل بضغطة زر
Behind that click sit some big questions. How do we stop someone voting in another person's name? How does your choice stay secret? How would we catch someone changing votes after they're recorded? Let's start with a simple situation.خلف تلك الضغطة أسئلة كبيرة كيف نمنع أحدا من التصويت باسم غيره وكيف يبقى اختيارك سرا وكيف نكتشف من يغير الأصوات بعد تسجيلها ولنبدأ بموقف بسيط
Imagine someone got hold of Ahmed's password and tried to vote in his name. How does the system make sure it isn't Ahmed?تخيل أن شخصا حصل على كلمة مرور أحمد وحاول التصويت باسمه كيف يتأكد النظام من أنه ليس أحمد
It's like the airport officer who compares a traveller's face with their passport photo. At registration the system saves 128 numbers that describe the face, then compares them with a fresh photo at voting time.الأمر يشبه موظف المطار الذي يقارن وجه المسافر بصورة جوازه فعند التسجيل يحفظ النظام 128 قيمة رقمية تمثل خصائص الوجه ثم يقارنها بصورة جديدة عند التصويت
But the face match isn't the only identity check.لكن مطابقة الوجه ليست الخطوة الوحيدة للتحقق من الهوية
Once Ahmed's face matches, the system emails him a temporary code, just as some apps do when you log in.بعد نجاح مطابقة وجه أحمد يرسل النظام رمزا مؤقتا إلى بريده الإلكتروني تماما كما تفعل بعض التطبيقات عند تسجيل الدخول
Ahmed enters the code, and the system also checks that he hasn't voted before, so he can't vote twice.يدخل أحمد الرمز ويتأكد النظام أيضا من أنه لم يصوت سابقا حتى لا يتمكن من التصويت مرتين
With the checks passed, Ahmed can choose his candidate, and protecting his vote begins.وبعد اجتياز التحقق يستطيع أحمد اختيار مرشحه لتبدأ مرحلة حماية صوته
When Ahmed votes, his choice becomes electronic data. If that data were left exposed, anyone who reached it could read it.عندما يصوت أحمد يتحول اختياره إلى بيانات إلكترونية ولو كانت هذه البيانات مكشوفة فقد يستطيع من يصل إليها معرفة محتواها
So the system encrypts the vote data with AES, as if we'd put the message in a box that only the right key can open.لهذا يستخدم النظام خوارزمية AES لتشفير بيانات التصويت وكأننا وضعنا الرسالة داخل صندوق لا يفتح إلا بمفتاح مناسب
Once encrypted, the vote is ready to be stored in the system's records.وبعد تشفير الصوت يصبح جاهزا للحفظ ضمن سجلات النظام
Picture a notebook where votes are written page after page, with every page tied to the one before it by a digital mark.تخيل دفترا تسجل فيه الأصوات صفحة بعد أخرى لكن كل صفحة مرتبطة بالتي سبقتها بعلامة رقمية
That's the simple idea behind a blockchain. The system groups voting transactions into linked blocks, and creating each one goes through a calculation called proof of work.هذه هي الفكرة المبسطة لسلسلة الكتل إذ يجمع النظام معاملات التصويت في كتل مترابطة ويمر إنشاؤها بعملية حسابية تسمى إثبات العمل
These links let the system check its records and spot any changes made to them.وهذا الترابط يسمح للنظام بفحص السجلات واكتشاف التغييرات التي قد تطرأ عليها
Imagine someone changed a stored result from 150 votes to 151. The difference looks tiny, but it changes the data's digital fingerprint.تخيل أن شخصا غير نتيجة محفوظة من 150 صوتا إلى 151 قد يبدو الفرق بسيطا لكنه يغير البصمة الرقمية للبيانات
The system calculates these fingerprints with SHA-256. Because the blocks are linked, editing an old block shows up when the links between them are checked.يستخدم النظام خوارزمية SHA-256 لحساب هذه البصمات ولأن الكتل مترابطة فإن تعديل كتلة قديمة يظهر عند التحقق من الروابط بينها
And so the vote's journey is complete, from checking its owner to protecting and recording it.وهكذا تكتمل رحلة الصوت من التحقق من صاحبه إلى حمايته وتسجيله
These stages are the basis of the master's thesis I completed in 2021, Secure & Transparent E-voting with Blockchain.هذه المراحل هي أساس رسالة الماجستير التي أنجزتها عام 2021 بعنوان التصويت الإلكتروني الآمن والشفاف باستخدام سلسلة الكتل
In it I brought together face recognition, identity verification, encryption and blockchain, then tested the system's performance and the limits of the experiment.جمعت فيها بين التعرف على الوجه والتحقق من الهوية والتشفير وسلسلة الكتل ثم اختبرت أداء النظام وحدود التجربة
And I built this site to explain these ideas in plain language, with examples close to real life, no technical background needed.وأنشأت هذا الموقع لأشرح هذه الأفكار بلغة بسيطة وأمثلة قريبة من الواقع دون الحاجة إلى خلفية تقنية مسبقة
Let's start at the root: why is e-voting a challenge?لنبدأ من أصل المشكلة لماذا يعد التصويت الإلكتروني تحدياMaster of Technology in Computer Networks and Information Security, University of Technology, Jaipur, 2021. Supervised by Dr. Madhumay Sen, Associate Professor of Computer Science.ماجستير التقنية في شبكات الحاسوب وأمن المعلومات من جامعة التقنية في جايبور عام 2021 بإشراف الدكتور مادهوماي سين أستاذ علوم الحاسوب المشارك
Start readingابدأ القراءةNo, it's a simplified, illustrated retelling. The system, the ideas and the results are the same, but the language is plainer and there are a lot more pictures.
Every chapter notes the section of the thesis it comes from.
لا هذا شرح مبسط ومصور لها والنظام والأفكار والنتائج هي نفسها لكن اللغة أبسط والرسوم أكثر بكثير
وكل فصل يذكر القسم الذي جاء منه في الرسالة
No. Every vote is encrypted with AES before it is written into a block, and the key is only used at counting time.
The chain proves your vote exists and hasn't been changed, without revealing what it says.
لا فكل صوت يشفر بخوارزمية AES قبل أن يكتب في كتلة ولا يستخدم المفتاح إلا عند الفرز
والسلسلة تثبت أن صوتك موجود ولم يتغير دون أن تكشف ما فيه
Two checks. Your face is compared with the photo you registered with, then a one-time code is sent to your email.
Only after both pass do you see the list of candidates.
بفحصين فوجهك يقارن بالصورة التي سجلت بها ثم يرسل رمز يستخدم مرة واحدة إلى بريدك
ولا تظهر لك قائمة المرشحين إلا بعد نجاح الفحصين
A public chain lets anyone join and validate, which would mean handing voter data to strangers.
A private chain only admits authorised participants and is managed by the election organiser.
السلسلة العامة يدخلها أي أحد ويتحقق منها وهذا يعني تسليم بيانات الناخبين لغرباء
أما الخاصة فلا يدخلها إلا المصرح لهم ويديرها منظم الانتخاب
Dr. Madhumay Sen, Associate Professor of Computer Science at the University of Technology, Jaipur.
الدكتور مادهوماي سين أستاذ علوم الحاسوب المشارك في جامعة التقنية في جايبور
Because the ideas deserve a wider audience than an academic document.
It's the same system, explained so that anyone curious can follow it from the first chapter to the last.
لأن الأفكار تستحق جمهورا أوسع من قراء الوثائق العلمية
وهو النظام نفسه مشروحا بطريقة يتابعها أي شخص فضولي من الفصل الأول إلى الأخير
13 short chapters, from why e-voting is hard to the numbers from the tests.13 فصلا قصيرا من صعوبة التصويت الإلكتروني إلى أرقام الاختبار
Read the first chapterاقرأ الفصل الأول