Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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 Cryptography

ecdh = 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.