## Introduction to data encryption

With the recent personal data leaks regarding celebrities, I noticed that I’ve some data on my cloud storage which should have an extra layer of protection. And NO, I don’t have any private pictures, but a document or two with some very sensitive data. You never know when you might be a victim of phishing or from a weak password. In any case, I decided to investigate some encryption algorithms. More precisely, XOR cipher, Feistel cipher and blowfish. In this article I’ll try to give some guidelines regarding these ciphers and example implementation in C++ with Qt. This article should be structured and written in a way, if you don’t know anything about cryptography, at the end you should understand most of the basic underlying theories. Also each algorithm will be introduced in a sequence where the next algorithm described will reference to previous one. Note that the intention of this article is to explain how to use them, rather than analyze their security etc.

## Passing methods as function parameters C++

This is more like a quick reference for myself, how to pass a method as a function argument. It turned out to be very useful for one of programming tasks. I had a lot of  "get" type methods with the same return value, and needed to construct a table of results. And passing method as argument, was a very neat solution.

## Automatic MasterMind Solver

For one of my university projects I had to find a way for automatically solving a mastermind game on a micro-controller in my case Arduino. There are several algorithms available on the internet, however most of them are very complicated or memory inefficient.

## rand() strange behaviour

Today one of my equations which used rand() function from C standard library, had very strange results. My equation sometimes was more than 5% off the actual result it should be. After many attempts trying to find the problem with the equation. I thought of checking the rand() distribution. As far as I know it should be uniform.

But is it...

• #### Implementing pulse oximeter using MAX30100

Mar 8, 2017 | by Raivis Strogonovs
• #### nRF51 Makefile with Qt Creator

Jun 4, 2016 | by Raivis Strogonovs
• #### USART, FreeRTOS and C++ on nRF51

Dec 14, 2015 | by Raivis Strogonovs
• #### Starting with nRF51 BLE and Qt Creator

Dec 12, 2015 | by Raivis Strogonovs
• #### Touch gesture recognition using body capacitance

Nov 29, 2014 | by Raivis Strogonovs
• #### Introduction to data encryption

Oct 4, 2014 | by Raivis Strogonovs
• #### MEMS (Part 2) – Guide to using gyroscope L3G4200D

Jun 17, 2014 | by Raivis Strogonovs
• #### Proact IMS in Strain Gauge based weight sensor (load cell)

"Great post! I’m curious about how versatile these transducers are. Can they measure other environmental factors besides...

#### Proact IMS in Strain Gauge based weight sensor (load cell)

"Great post! I’m curious about how versatile these transducers are. Can they measure other environmental factors besides...

#### Proact IMS in Strain Gauge based weight sensor (load cell)

"Great post! I’m curious about how versatile these transducers are. Can they measure other environmental factors besides temperature,...

#### Proact IMS in Strain Gauge based weight sensor (load cell)

"Great post! I’m curious about how versatile these transducers are. Can they measure other environmental factors besides temperature,...

#### Proact IMS in Strain Gauge based weight sensor (load cell)

"As a mechanical engineer specializing in aerospace applications, I'm keen to understand how strain gauges are integrated into aircraft...

#### Proact IMS in Strain Gauge based weight sensor (load cell)

Discuss how load cells can be integrated into various agricultural equipment such as harvesters, tractors, and plows to optimize performance and ensure...

#### Mike Johns in Simple library for driving 20x4 LCD with 4bits

Solved, It looks like itoa is the esaiest solution. Works well, and then using lcd.lcdWriteText(&cstr[i]); Once again thanks for your effort. cheers Mike