from charm.toolbox.ecgroup import ECGroup,ZR,G
from charm.toolbox.eccurve import prime192v1
group = ECGroup(prime192v1)
g_1 = group.random(G)
g_2 = group.random(G)
a_1 = group.random(ZR)
a_2 = group.random(ZR)
A = g_1 ** a_1 * g_2 ** a_2
rng = 10000
assert group.InitBenchmark(), "failed to initialize benchmark"
group.StartBenchmark(["CpuTime"])
for i in range(rng):
x_1 = group.random(ZR)
x_2 = group.random(ZR)
X = g_1 ** x_1 * g_2 ** x_2
c = group.random(ZR)
s_1 = x_1 + a_1 * c
s_2 = x_2 + a_2 * c
Left = X * A ** c
Right = g_1 ** s_1 * g_2 ** s_2
group.EndBenchmark()
print("CP: ", group.GetBenchmark("CpuTime")/rng)
print(Left == Right)
Teaching
Course materials, student achievements and research supervision.
Courses
Other course materials
Student achievements
Selected outcomes of thesis and research project supervision.
Awards and distinctions
Thesis and research project supervisor: Łukasz Krzywiecki.
-
Jakub Merta
Additional distinction for high technical quality
18th Nationwide Inter-University Young Masters Competition · Forum Teleinformatyki
Ogólnopolski, Międzyuczelniany Konkurs Młodych MistrzówSystemy urządzeń rojowych w bezprzewodowych sieciach zdecentralizowanych – implementacja sprzętowa i integracja algorytmów sterujących
Distinction awarded under Article 5(2) of the competition rules.
-
Mateusz Chęciński, Witold Karaś, Adam Niezgoda
Special distinction · Fundacja Rozwoju Informatyki
Nationwide Inter-University Young Masters Competition · Forum Teleinformatyki
Międzyuczelniany Konkurs Młodych MistrzówImplementacja hierarchicznych podpisów pierścieniowych w systemie blockchain z funkcjonalnością anamorficzną
-
Karolina Bąk
Distinction · Polish Information Processing Society (PTI)
40th National Competition for the Best Master's Theses in Computer Science
Selected cryptographic schemes implemented in the blockchain system
-
Bartosz Drzazga
Distinction · Polish Information Processing Society (PTI)
38th National Competition for the Best Master's Theses in Computer Science
Isogeny-based cryptography – chosen schemes
-
Paweł Nużka
Award · Huawei Telecom Seeds for the Future
Student Competition in Cyber Security
Authentication and Communication Protocol for Mobile Devices in Optical Channel
Master's thesis on authenticated key establishment between smartphones using QR codes as an optical communication channel.
Completed PhD supervision
-
Hannes Salin
PhD dissertation defended
Secure Multi-Party Schemes for Intelligent Connected Infrastructures
Defended on at Wrocław University of Science and Technology.
Supervisor: Łukasz Krzywiecki.
Student research highlight
-
Oliwier Lechnik
Student research club project
Quality of mechanical and digital card shuffling
- Implementation. C++ simulations comparing Fisher–Yates shuffling, modulo-biased sampling and Gilbert–Shannon–Reeds models of mechanical shuffling.
- Experiments. Monte Carlo analysis of 52- and 208-card decks, examining card positions and which cards appear next to each other.
- Research outputs. Reports in Polish and English, heatmaps and raw CSV matrices documenting the results.
Planned engineering thesis. A blockchain-based distributed database, under my supervision.
Thesis and research project enquiries in cryptography, computer security and secure machine learning: contact me by email.
Student Research
MCL bindings and development tools
Student projects connecting the MCL cryptographic library to programming languages and protocol experiments.
- Python
- Rust
- Node.jsCryptographic protocols · Express and MCL
The bindings and test server use MCL, developed by Shigeo Mitsunari (herumi).
Interactive research
Domain-specific pseudonymous signatures
A proof-of-concept implementation accompanying the research paper.
Research papers with students
-
Łukasz Krzywiecki, Witold Karaś, Adam Niezgoda, Karol Niczyj. Hierarchical Ring Signatures with Hidden Signature Functionality over Blockchain Infrastructure. TrustCom 2025: 2010‑2015.DOI: 10.1109/Trustcom66490.2025.00233 -
Bartłomiej Dzikowski, Łukasz Krzywiecki, Ksawery Możdżyński, Karol Niczyj, Hannes Salin. Distributed Data Possession - Blockchain Based Scalability. TrustCom 2024: 2523‑2528.DOI: 10.1109/TrustCom63139.2024.00351 -
Karolina Bąk, Hannes Salin, Karol Niczyj, Łukasz Krzywiecki. Enhancing Tunnel Safety for Dangerous Goods Vehicles through Blockchain-Based Time-Stamping. TrustCom 2023: 1312‑1317.DOI: 10.1109/TrustCom60117.2023.00179 -
Łukasz Krzywiecki, Hannes Salin and Mateusz Jachniak. Certificateless Multi-Party Authenticated Encryption Mitigating Ephemeral Key Leakage. NCA 2021: 1‑8.DOI: 10.1109/NCA53618.2021.9685848 -
Łukasz Krzywiecki, Adam Połubek, Hannes Salin. Multi-Signature Scheme Resistant to Randomness Injection Attacks - Bitcoin Case. NCA 2021: 1‑4.DOI: 10.1109/NCA53618.2021.9685253 -
Bartosz Drzazga, Łukasz Krzywiecki, Hannes Salin. Cryptanalysis of Deterministic and Probabilistic Multi-Copy PDP Schemes For Cloud Storage - Attacks and Countermeasures. TrustCom 2021: 172‑179.DOI: 10.1109/TrustCom53373.2021.00040 -
Łukasz Krzywiecki, Mirosław Kutyłowski, Rafał Rothenberger, Bartosz Drzazga. Hierarchical Ring Signatures Immune to Randomness Injection Attacks. CSCML 2021: 171‑186.DOI: 10.1007/978-3-030-78086-9_13 -
Łukasz Krzywiecki, Hannes Salin, Nisha Panwar, Mykola Pavlov. Proxy Signcryption for Vehicle Infrastructure Immune to Randomness Leakage and Setup Attacks. NCA 2020: 1‑8.DOI: 10.1109/NCA51143.2020.9306703 -
Łukasz Krzywiecki, Marta Słowik, Michał Szala. Identity-Based Signature Scheme Secure in Ephemeral Setup and Leakage Scenarios. ISPEC 2019: 310‑324.DOI: 10.1007/978-3-030-34339-2_17 -
Patryk Kozieł, Łukasz Krzywiecki, Damian Stygar. Identity-based Conditional Privacy-Preserving Authentication Scheme Resistant to Malicious Subliminal Setting of Ephemeral Secret. ICETE (2) SECRYPT 2019: 492‑497. DOI: 10.5220/0007954204920497 -
Łukasz Krzywiecki, Mirosław Kutyłowski, Jakub Pezda, Marcin Słowik. Anonymous Deniable Identification in Ephemeral Setup and Leakage Scenarios (Brief Announcement). CSCML 2019: 320‑323.DOI: 10.1007/978-3-030-20951-3_27 -
Łukasz Krzywiecki, Tomasz Wlisłocki. Deniable key establishment resistant against eKCI attacks. Security and Communication Networks, vol. 2017, Article ID 7810352, 13 pages, 2017. Wiley|Hindawi.DOI: 10.1155/2017/7810352