Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikhil25803/pyfidelius
Python SDK for Fidelius CLI, a tool designed for ECDH cryptography.
https://github.com/nikhil25803/pyfidelius
cryptography ecdh python3
Last synced: 19 days ago
JSON representation
Python SDK for Fidelius CLI, a tool designed for ECDH cryptography.
- Host: GitHub
- URL: https://github.com/nikhil25803/pyfidelius
- Owner: nikhil25803
- License: mit
- Created: 2024-05-21T09:45:57.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-10T06:26:11.000Z (5 months ago)
- Last Synced: 2024-10-12T18:53:02.760Z (about 1 month ago)
- Topics: cryptography, ecdh, python3
- Language: Python
- Homepage: https://pypi.org/project/pyfidelius/
- Size: 5.14 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyFidelius
Python SDK for Fidelius CLI, a tool designed for ECDH cryptography.
## How to use it?
Install the package from PyPi
```bash
pip install pyfidelius
```Create an instance of the class
```py
from pyfidelius.cryptography import Cryptographyecdh = Cryptography()
```**NOTE**: Make sure that JRE 1.8+ is installed, to run the binaries in the release.
Methods available :
| Method | Details |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------ |
| `generate_key_material` | Generates an ECDH key pair, and a random nonce. |
| `encrypt` | Encrypts a given string data. |
| `sane_encrypt` | Same as encrypt command, with the only difference being that it accepts base64 encoded version of the input string. |
| `decrypt` | Decrypt the encoded data back to original string. |
| `file_operation` | ECDH Cryptography can also be applied on file for both encryption and decryption. |> A brief documentation about each method is mentioned in the method's docstring.