https://github.com/cailllev/parsa
Encrypt and Decrypt Files via RSA
https://github.com/cailllev/parsa
cryptography java rsa
Last synced: over 1 year ago
JSON representation
Encrypt and Decrypt Files via RSA
- Host: GitHub
- URL: https://github.com/cailllev/parsa
- Owner: cailllev
- Created: 2021-02-19T08:02:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-08T06:22:35.000Z (about 5 years ago)
- Last Synced: 2025-01-23T16:30:06.590Z (over 1 year ago)
- Topics: cryptography, java, rsa
- Language: Java
- Homepage:
- Size: 2.94 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Threat model: Threat_Modelling.md
Awesome Lists containing this project
README
# OWN - File Encryption
## Description
Uses RSA Algorithm to encrypt files. No private key is needed tho, only a password. The password is transformed to a bigger (prime) number, this is then used as the decriptor (d).
## Usage
```
java -jar paRSA.jar
```
- ```-i``` or ```--init``` to create a keyfile with given name
- ```-k``` or ```--keyfile``` name of the keyfile, contains ```(n,e,diff)```
- ```-e``` or ```--encrypt``` to encrypt a file with given name
- ```-d``` or ```--decript``` to decript a file with given name
- ```-v``` or ```--verbose``` to print the decripted file
- ```-s``` or ```--save``` to save the decripted file
## Threat Modelling
- no obvious weakness, see [here](Threat_Modelling.md)
## TODO
- this project, but one with Elliptic Curves and one with Diffie Hellman instead RSA
- check that encrypt and decrypt is faster with threads / create threshold for thread logic
- create sign and verify logic