run openssl via python
Project description
openssltool
run openssl via python
installation:
$ python3 -m pip install opensslpy
examples:
>>> from opensslpy import sym
>>> # encryption
>>> sym.encrypt("test.txt", out_file="file1.enc", iter=34, passwd="secret", cipher="bf")
>>> # decryption
>>> sym.decrypt("file1.enc", out_file="file1.txt", iter=34, passwd="secret", cipher="bf")
>>> # list all cipher
>>> sym.CIPHERS
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
opensslpy-0.0.2.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opensslpy-0.0.2.tar.gz.
File metadata
- Download URL: opensslpy-0.0.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d2351f5fd7cbacd2be78e34a192693cd6204f7f8b52dec4dd6fc641c4cc2643
|
|
| MD5 |
3d13e1e6f3055c4de7b6b75c04795314
|
|
| BLAKE2b-256 |
b2cc26252472555e9bba594bf47dfada608c289b65240d43f8466e2411b8d8d6
|
File details
Details for the file opensslpy-0.0.2-py3-none-any.whl.
File metadata
- Download URL: opensslpy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74f3bb519cbd2824e911c25425c3a3f4f2fcc352d48b86d98ff6f50c7bc35b39
|
|
| MD5 |
23dd6ff3248545ac51758b43de3a6652
|
|
| BLAKE2b-256 |
b5cefa226ad62d4e3fb3d1aac8a8abd06c76933615b4b6e99851875ef8923bab
|