Skip to content

tpf-concurrent-benchmarks/aes_julia

Repository files navigation

AES in Julia

Objective

This is a Julia implementation of the Advanced Encryption Standard (AES).

The objective of this project is to analyze the concurrent capabilities of Julia, under various workloads, and to compare the performance between different languages.

Deployment

Requirements

The project is fully containerized, so you don't need to have Rust installed on your machine.

Configuration

The configuration is done through the .env file. The following variables are available:

  • N_THREADS: Number of threads to be used in the encryption process. This should also be configured in the Dockerfile
  • REPEAT: Number of times the encryption/decryption process will be repeated
  • PLAIN_TEXT: Path to the file with the data to be encrypted
  • ENCRYPTED_TEXT: Path to the file where the encrypted data will be stored
  • DECRYPTED_TEXT: Path to the file where the decrypted data will be stored

Having a PLAIN_TEXT and ENCRYPTED_TEXT will mean encrypting the data, while having a ENCRYPTED_TEXT and DECRYPTED_TEXT will mean decrypting the data. Having all three will mean encrypting and decrypting the data.

Commands

Setup

  • make build: Builds the image with the binary
  • make dummy_file: Creates a dummy with data to be encrypted

Run

  • make deploy: Runs the container and monitoring services
  • Afterwards: make aes_bash: Opens a bash session in the container
  • make remove: Stops and removes the container and services
  • make logs: Shows the logs of the container

Libraries

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages