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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for opensslpy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2d2351f5fd7cbacd2be78e34a192693cd6204f7f8b52dec4dd6fc641c4cc2643
MD5 3d13e1e6f3055c4de7b6b75c04795314
BLAKE2b-256 b2cc26252472555e9bba594bf47dfada608c289b65240d43f8466e2411b8d8d6

See more details on using hashes here.

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

Hashes for opensslpy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 74f3bb519cbd2824e911c25425c3a3f4f2fcc352d48b86d98ff6f50c7bc35b39
MD5 23dd6ff3248545ac51758b43de3a6652
BLAKE2b-256 b5cefa226ad62d4e3fb3d1aac8a8abd06c76933615b4b6e99851875ef8923bab

See more details on using hashes here.

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