02/15/2026 · 8 min read
University Engineering Labs: Crypto, Mobile, and C++ Design
A technical compilation of university projects across C cryptography, Android peer-to-peer messaging, and C++ interpreter design.
preview.ts
1bignum *bignum_add(bignum *a, bignum *b) {
2 bignum *c = bignum_new();
3 c->size = max(a->size, b->size) + 1;
4 c->tab = realloc(c->tab, c->size * sizeof(int));
5
6 int carry = 0;
7 for (int i = 0; i < c->size - 1; i++) {
8 int tmp = a->tab[a->size - i - 1] + b->tab[b->size - i - 1] + carry;
9 carry = tmp / B;
10 c->tab[c->size - i - 1] = tmp % B;
11 }
12 c->tab[0] = carry;
13 return c;
14}This article consolidates three university projects I still consider technically important: BigNumbers (C, arbitrary-precision arithmetic and RSA), Super Proximity Messenger (Android + Nearby Connections), and PB161_Cplusplus (interpreter/game assignments with stricter parsing and OOP patterns).