Today I thought we could talk a little bit about Columnar Transposition Ciphers (hereby called CTC for short), let’s start with discussing what a CTC is. A CTC is a simple encryption method using a shared key between the participants, where the characters in a clear text message gets shifted around in a specific predetermined …
Author Archives: Jimmie
Setup WordPress and MySQL using Docker compose
If you want to setup a containerized Wordpress and MySQL environment, one solution is to use docker compose. Below I’ll first show you the complete docker-compose.yml file and later we’ll go through it line by line.
Create a Dummy File Generator in PHP
Every once in a while you need to do some edge testing when writing code that handles files. One way to fix this is to use dummy files at specific sizes. The following code is an example on how to write a Dummy File Generator in PHP.
Simple XOR Encryption in PHP
This piece of code is a simple way of encrypting and decrypting text using a bit wise XOR operation. First a simple reminder about how XOR operators work.