Cybersecurity and programming, explained plainly
← All posts

About

Dec 6, 2026

Code & Cipher is a small publication about two things that keep colliding: the software we build and the security that decides whether it holds. It is written for people who use computers all day and want to understand what is happening underneath, not for people who already know.

What you will find here

Two kinds of posts, usually in the same week.

  • Security you can use. How a specific attack works, what it looks like when it reaches you, and the exact steps to take, in order. Scam messages, breached accounts, stolen sessions, saved passwords. The test for these posts is simple: could a normal person follow this on a bad day and get it right?
  • Code you can read. Small programs that make an invisible system visible. A link expander, an HTTP request, a password strength checker. Every line is explained, and the code in a post is code I have run.

How it is written

Practical first. If a post cannot tell you what to do differently, it does not go up. Theory appears when it changes a decision, and not before.

Posts are checked against the real behaviour of the systems they describe rather than against documentation alone. When something is uncertain, the post says so instead of rounding it off into a confident sentence. When a post goes out of date, it gets corrected rather than quietly left up.

Who writes it

My name is Mohamed Ghareeb. I write about security and software from Egypt, mostly about the gap between how a system is described and how it actually behaves.

What this is not

It is not a news site, and it will not chase every breach headline. It is not affiliated with any vendor, and nothing here is sponsored. If that ever changes, the post will say so at the top.

Nothing on this blog is professional security advice for your specific situation. It is a starting point that should leave you better prepared than you were.

Code & Cipher is a small publication about two things that keep colliding: the software we build and the security that decides whether it holds. It is written for people who use computers all day and want to understand what is happening underneath, not for people who already know.

What you will find here

Two kinds of posts, usually in the same week.

  • Security you can use. How a specific attack works, what it looks like when it reaches you, and the exact steps to take, in order. Scam messages, breached accounts, stolen sessions, saved passwords. The test for these posts is simple: could a normal person follow this on a bad day and get it right?
  • Code you can read. Small programs that make an invisible system visible. A link expander, an HTTP request, a password strength checker. Every line is explained, and the code in a post is code I have run.

How it is written

Practical first. If a post cannot tell you what to do differently, it does not go up. Theory appears when it changes a decision, and not before.

Posts are checked against the real behaviour of the systems they describe rather than against documentation alone. When something is uncertain, the post says so instead of rounding it off into a confident sentence. When a post goes out of date, it gets corrected rather than quietly left up.

Who writes it

My name is Mohamed Ghareeb. I write about security and software from Egypt, mostly about the gap between how a system is described and how it actually behaves.

What this is not

It is not a news site, and it will not chase every breach headline. It is not affiliated with any vendor, and nothing here is sponsored. If that ever changes, the post will say so at the top.

Nothing on this blog is professional security advice for your specific situation. It is a starting point that should leave you better prepared than you were.