Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
AES - kryptering med cuda: Skillnader i beräkningshastighet mellan AES-krypteringsmetoderna ECB och CTR vid implementering med Cuda-ramverket.
Jönköping University, School of Engineering, JTH, Computer Science and Informatics.
Jönköping University, School of Engineering, JTH, Computer Science and Informatics.
2020 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Purpose – The purpose of this study is partly to illustrate how the AES encryption methods ECB and CTR affect the computational speed when using the GPGPU framework Cuda, but also to clarify the advantages and disadvantages between the different AES encryption modes.

Method – A preliminary study was conducted to obtain empirical data on the AES encryption modes ECB and CTR. Data from the study has been analyzed and compared to determine the various aspects of the AES encryption modes and to create a basis for determining the advantages and disadvantages between them. The preliminary study has been carried out systematically by finding scientific works by searching databases within the subject.

An experiment has been used as a method to be able to extract execution time data for the GPGPU framework Cuda when processing the AES encryption modes. Experiment were chosen as a method to gain control over the variables included in the study and to see how these variables change when they are consciously influenced.

Findings – The findings of the preliminary study show that CTR is more secure than the ECB, but also considerably more complex, which can lead to integrity risks when implementation is done incorrectly. In the experiment, computational speeds are produced when the CPU memory sends to the GPU memory, the encryption on the GPU and how long it takes for the GPU memory to send to the CPU memory. This is done for both CTR and ECB in encryption and decryption. The result of the analysis shows that the ECB is faster than CTR in encryption and decryption. The calculation speed is higher with the ECB compared to the CTR.

Implications – The experiment shows that CTR is slower than the ECB. But the most amount of time spent in encryption for both modes are the transfers between the CPU memory and the GPU memory.

Limitations – The file sizes of the files tested only goes up to about 1 gigabyte which gave small computation times.

Place, publisher, year, edition, pages
2020. , p. 45
Keywords [sv]
GPGPU, CTR, ECB, Cuda, AES, parallellisering, GPGPU-ramverk, processorer, AES-krypteringsmetod, Amazon EC2 P3, AWS
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:hj:diva-50809ISRN: JU-JTH-DTA-1-20200115OAI: oai:DiVA.org:hj-50809DiVA, id: diva2:1474560
External cooperation
MindRoad AB
Subject / course
JTH, Computer Engineering
Supervisors
Examiners
Available from: 2020-10-20 Created: 2020-10-08 Last updated: 2025-10-13Bibliographically approved

Open Access in DiVA

fulltext(1226 kB)192 downloads
File information
File name FULLTEXT01.pdfFile size 1226 kBChecksum SHA-512
9827ce0a4b524e7f6c862fa43e260833a8909a905ca41e3952a90fef595084c1291cb0ae717d535003c26946890f162343183c1c11b5a8c107273ff0985c4b36
Type fulltextMimetype application/pdf

By organisation
JTH, Computer Science and Informatics
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 192 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 451 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf