Skip to content

Commit

Permalink
new version 1.3 update
Browse files Browse the repository at this point in the history
  • Loading branch information
archie bloom committed Aug 14, 2023
1 parent 691e679 commit e885d6d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ I've started this project in the purpose of training myself to implemente crypto
- [Documentation](#documentation)
- [Benchmark](#benchmark)
- [Features](#features)
- [✅ Main branch](#-main-branch)
- [🚧 pubcrypt-dev](#-pubcrypt-dev)
- [Version](#version)
- [Author](#author)
- [References](#references)
Expand All @@ -26,7 +24,7 @@ Install the last stable version: https://github.com/Bl4omArchie/pubcrypt/release
Once you installed the package, you can call function from the test.py file.
With the app.py file, call directly your function from the command line:
```
usage: app.py [-h] [-g G] [-b B] [-enc ENC] [-dec DEC] [-r R] [-e E] [-n N] [-d D]
usage: app.py [-h] [-g G] [-enc ENC] [-dec DEC] [-r R] [-e E] [-n N] [-d D]
Call function from pubcrypt module
Expand Down Expand Up @@ -57,7 +55,8 @@ n = public modulus <br>
e = public exponent <br>
d = private exponent <br>
exp = public or private exponent <br>
p, q = first and second prime factor <br>
p, q = first and second primeArithmetic algorithm: gcd, lcm, sqrt, fast_exponentiation,
factor <br>
```

------------------------------------------
Expand Down Expand Up @@ -98,17 +97,10 @@ Refactoring...

## Features

### ✅ Main branch
- RSA keypair generation function: generate()
- Factor recovery from public and private key: prime_recovery()
- Random Prime Generator: get_prime_factor() and miller_rabin()
- Command line version: app.py
- Improvement of Miller-Rabin (see pdf in the pdf folder)

### 🚧 pubcrypt-dev
- improve app.py with a file argument where you can indicate your value directly from a file.
- OAEP: encryption, decryption and signature methods
- file format PEM
Main product:
- RSA keypair generator
- RSA message encryption and decryption
- RSA prime factors recovery


## Version
Expand All @@ -118,6 +110,7 @@ Refactoring...
| v1.0 | first stable version of pubcrypt. Can generate, encrypt, decrypt and recover prime factors |
| v1.1 | command line version added |
| v1.2 | miller-rabin improvement that allow to generate key pairs faster |
| v1.3 | correction of the get_prime_factor function |


## Author
Expand Down
Binary file modified benchmark/picture/Generate function.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e885d6d

Please sign in to comment.