Implementing Encryption for Qt-based Matrix Client
Makkonen, Teemu (2019)
Makkonen, Teemu
2019
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2019120223919
https://urn.fi/URN:NBN:fi:amk-2019120223919
Tiivistelmä
The objective of this thesis was to design and implement encryption for a messaging application that uses Matrix Open Standard to deliver the messages. The study was purposed to be used as a solid base that can be expanded upon by creating the implementation in such a way that it is easy to change if another encryption scheme would be used.
For the purpose of the thesis it was necessary to look in to the history of encryption and modern cryptography in order to gain more knowledge and to choose and design the proper encryption scheme that would fill out the necessary criteria set by the company. The bit by bit operations of the mostly used encryption schemes were studied as well as modern larger scale algorithms that provide more security around the strong encryption.
Matrix Open Standard needed to be studied as well for the understanding of how the messages are delivered. The Qt cross-platform framework was used for the development and the messaging application was running on a QEMU virtual emulator, running the company’s own secure mobile operating system.
The implementation was successful and the goals of encrypting and decrypting messages sent with the application was achieved. The company was happy with the results although some parts were left without much attention. Overall the design and implementation gives good base to build upon or use it as is for future developments.
The cryptography knowledge gathered during this thesis gave the company a lot of confidence as to the cryptographic schemes explored in this study. It also gave them more understanding on their future evaluations on different encryption schemes implemented in the present study.
For the purpose of the thesis it was necessary to look in to the history of encryption and modern cryptography in order to gain more knowledge and to choose and design the proper encryption scheme that would fill out the necessary criteria set by the company. The bit by bit operations of the mostly used encryption schemes were studied as well as modern larger scale algorithms that provide more security around the strong encryption.
Matrix Open Standard needed to be studied as well for the understanding of how the messages are delivered. The Qt cross-platform framework was used for the development and the messaging application was running on a QEMU virtual emulator, running the company’s own secure mobile operating system.
The implementation was successful and the goals of encrypting and decrypting messages sent with the application was achieved. The company was happy with the results although some parts were left without much attention. Overall the design and implementation gives good base to build upon or use it as is for future developments.
The cryptography knowledge gathered during this thesis gave the company a lot of confidence as to the cryptographic schemes explored in this study. It also gave them more understanding on their future evaluations on different encryption schemes implemented in the present study.