Skip to main content

run openssl via python

Project description

openssltool

run openssl via python

installation:

$ python3 -m pip install openssltool

examples:

>>> from openssltool 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

openssltool-0.0.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openssltool-0.0.1-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file openssltool-0.0.1.tar.gz.

File metadata

  • Download URL: openssltool-0.0.1.tar.gz
  • Upload date:
  • Size: 2.1 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 openssltool-0.0.1.tar.gz
Algorithm Hash digest
SHA256 aa90f2cb7d3135854fef9154eb66459c4d363bdd65c9ff87a5bbe845602627f2
MD5 7cabcf6f866e7cd866433f75f357f5aa
BLAKE2b-256 5a4bcfa7d671c96458a9c5c85aa1ed0ad2b558da93ee6d6f6c95a323ac2528bb

See more details on using hashes here.

File details

Details for the file openssltool-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: openssltool-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.2 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 openssltool-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b342a58590a01b978e38f668889eeeabf9446d5348b6a78c4a921f60b8f97e8
MD5 6f7defc5240f51bee906617e8785f62a
BLAKE2b-256 4cd9c725ce26b971c9b66c8f85ccfaa6b16d1123adf935b43e016b1a30c86255

See more details on using hashes here.

Supported by

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