You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<strong>A Python CLI application for generating RSA public and private key pairs using PyCryptodome</strong>
13
+
<strong>A Python CLI application for generating RSA public and private key pairs using the cryptography library</strong>
13
14
</p>
14
15
15
16
<palign="center">
@@ -20,10 +21,11 @@
20
21
<ahref="#development">Development</a> •
21
22
<ahref="#license">License</a>
22
23
</p>
24
+
<!-- markdownlint-enable MD033 MD041 -->
23
25
24
26
## Features
25
27
26
-
Encryption Helper is a robust Python package designed to simplify the process of creating RSA key pairs. It leverages the PyCryptodome library to offer:
28
+
Encryption Helper is a robust Python package designed to simplify the process of creating RSA key pairs. It leverages the [cryptography][0] library to offer:
27
29
28
30
- Generation of 2048-bit RSA key pairs
29
31
- Automatic saving of keys in PEM format
@@ -32,7 +34,7 @@ Encryption Helper is a robust Python package designed to simplify the process of
32
34
33
35
## Installation
34
36
35
-
This package requires Python 3.8 or later and uses PyCryptodome for cryptographic operations.
37
+
This package requires Python 3.8 or later and uses cryptography for cryptographic operations.
36
38
37
39
### Using Poetry (recommended)
38
40
@@ -43,7 +45,7 @@ Ensure you have Poetry installed, then follow these steps:
source venv/bin/activate # On Windows use `venv\Scripts\activate`
62
64
63
-
# Install the package and its dependencies (including PyCryptodome)
65
+
# Install the package and its dependencies (including cryptography)
64
66
pip install .
65
67
```
66
68
@@ -91,21 +93,21 @@ python -m encryption_helper
91
93
92
94
These commands will:
93
95
94
-
- Use PyCryptodome to generate a 2048-bit RSA key pair
96
+
- Use cryptography to generate a 2048-bit RSA key pair
95
97
- Save the private key to `keys/pem/private-key.pem`
96
98
- Save the public key to `keys/pem/public-key.pem`
97
99
- Display both keys in the console
98
100
- Log the key generation process
99
101
100
102
## Configuration
101
103
102
-
The key generation process uses PyCryptodome with the following specifications:
104
+
The key generation process uses cryptography with the following specifications:
103
105
104
106
- Standard: PKCS#1
105
107
- Type: RSA
106
108
- Size: 2048 bits
107
109
108
-
To modify these settings, you'll need to edit the `generate_rsa_key()` function in `encryption_helper/main.py`. Refer to the PyCryptodome documentation for more advanced configurations.
110
+
To modify these settings, you'll need to edit the `generate_rsa_key()` function in `encryption_helper/main.py`. Refer to the cryptography documentation for more advanced configurations.
109
111
110
112
## Development
111
113
@@ -149,3 +151,6 @@ pydoc -w encryption_helper
149
151
## License
150
152
151
153
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
0 commit comments