Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

opensslpy-0.0.2-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page