An open API service indexing awesome lists of open source software.

https://github.com/forest-chan/crypto-2025

Implementations of cryptographic algorithms for a university course with PHP
https://github.com/forest-chan/crypto-2025

composer cryptography des-algorithm des-crypto des-decription des-encryption digitalsignature docker docker-compose md5-hash md5-hashing md5hashing php-unit php8 rsa-algorithm rsa-cryptography rsa-decryption rsa-encryption signature signature-verification

Last synced: 4 months ago
JSON representation

Implementations of cryptographic algorithms for a university course with PHP

Awesome Lists containing this project

README

          

# crypto-2025

![PHP Version](https://img.shields.io/badge/PHP-8.3-brightgreen.svg)
![Composer](https://img.shields.io/badge/Composer-Compatible-orange.svg)
![PHPUnit](https://img.shields.io/badge/PHPUnit-12.6-blueviolet.svg)
![Docker](https://img.shields.io/badge/Docker-✓-blue?logo=docker&logoColor=white&style=flat)
![Docker Compose](https://img.shields.io/badge/Docker_Compose-✓-blue?logo=docker&logoColor=white&style=flat)
![License](https://img.shields.io/badge/License-MIT-blue.svg)

Implementations of cryptographic algorithms for a university course with PHP 8.3

## Implemented cryptographic algorithms:

| Altorithm | Category |
|-----------|-------------------|
| DES | Symmetric |
| RSA | Asymmetric |
| MD5 | Hash function |
| MD5 + RSA | Digital Signature |

## Requirements:
1. Docker version >= 25.0.3
2. Docker Compose version >= v2.24.5-desktop.1

## Installation:
```bash
git clone git@github.com:forest-chan/crypto-2025.git
cd crypto-2025
make build
make up
```

## Usage:
1. Run all cryptographic algorithms test cases:
```bash
make run-all
```
2. Run DES cryptographic algorithm test cases:
```bash
make run-des
```
3. Run RSA cryptographic algorithm test cases:
```bash
make run-rsa
```
4. Run MD5 cryptographic algorithm test cases:
```bash
make run-rsa
```
5. Run Digital Signature cryptographic algorithm test cases:
```bash
make run-signature
```