Compression Codes

2023-07-23 | #codes

Codes Introduction Given a finite alphabet X a code for X is a function c: X → {0,1}* We can extend the code to arbitrary strings with symbols in X as

Continue reading 


Birthday Paradox

2023-03-29 | #cryptography #probability

The birthday paradox is a surprising statistical phenomenon that shows how even in a small group, it’s very likely that two people share the same birthday. In this blog post, we’ll explore the math behind the paradox and its practical applications in computer science and cryptography.

Continue reading 


Discrete Logarithm

2023-03-29 | #cryptography #number-theory

Discrete logarithm is a fundamental concept in modern cryptography, with numerous applications in key exchange, digital signatures, and other cryptographic protocols. This post explores the basics of discrete logarithm and some of the most important cryptographic protocols derived from it.

Continue reading 


Random Primes Generation

2023-01-16 | #cryptography #number-theory

Generating random primes and testing their primality is essential for many cryptographic algorithms. In this post, we’ll explore methods for generating and testing prime numbers. Last modification: 2023-08-01 What is this about We want to develop an algorithm that generates a prime in the range [2^(k-1), 2^k - 1], with k the number of bits required to represent the prime.

Continue reading 


Linux Workstation Tools

2022-12-18 | #system #tooling

Discovering the right tools can significantly improve your productivity and user experience on any operating system. In this post, I’ll share some of my go-to tools that I personally use on my workstation to enhance my workflow.

Continue reading 


Timing Attack

2022-04-23 | #cryptography #security

Variance Recap The variance of an aleatory variable X is a statistical measure of the spread (or dispersion) of a set of values of a random variable. It is defined as the squared deviations of the values from the mean μ.

Continue reading 


Experiments with Btrfs RAID1

2022-02-02 | #btrfs #system

RAID1 is a data replication technique that stores two copies of data on two different disks, providing fault tolerance and high availability in case one of the disks fails. With btrfs, you can create a RAID1 array by combining two or more devices.

Continue reading 