GithubHelp home page GithubHelp logo

ki-assignments's Introduction

NRP Name
5025211008 Muhammad Razan Athallah
5025211014 Alexander Weynard Samsico
5025211139 Apta Rasendriya Wijaya
5025211158 Ghifari Maaliki Syafa Syuhada

Report

To showcase the difference between 3 distinct encryption method, namely Advanced Encryption Standard (AES), Data Encryption Standard (DES), and RC4, we made a simple CRUD web app using Laravel with the following features:

  1. Authenticating user with password
  2. Giving file access to authorized user
  3. Encrypting files and storing it in the database
  4. Decrypting stored files before downloading

Here is a preview of our website:

Homepage

11

Register page

12

Login page

13

Edit files and username

14

Download files

15

Benchmark

The methodology employed for benchmarking the three encryption methods involves a comparative analysis of their decryption times across three distinct file sizes: 500KB, 1MB, and 2MB. The constraint of adhering to the size limitations imposed by HTTP POST requests necessitates the use of smaller file sizes. To measure decryption performance, the evaluation leverages the user runtime and system runtime metrics obtained through the utilization of the rusage() function in PHP. This process entails conducting 30 iterations for each combination, thereby accumulating a total of 270 trials. The resulting outcomes are summarized as follows:

AES

1

File size Average time
500 kB 0.006678
1 MB 0.014271
2 MB 0.024004

DES

2

File size Average time
500 kB 0.01681
1 MB 0.065642
2 MB 0.111473

RC4

3

File size Average time
500 kB 0.102148
1 MB 0.21458
2 MB 0.301408

Result

In terms of processing speed, the test results indicate that AES outperformed the other two encryption methods, which is noteworthy considering AES is renowned for its robust security features. This counterintuitive outcome underscores the efficiency of AES encryption. Following AES, DES emerged as the second fastest, with RC4 ranking third in terms of speed.

ki-assignments's People

Contributors

aptarr avatar athraz avatar gmaaliki avatar weynard02 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.