Skip to main content

PKE library

Project description

PKElib

Library for public key encryption, use var = pke(message) to create a pke object.
Then you can use the var.encrypt() and var.decrypt() methods to encrypt and decrypt the message.
By deafault they will encyrpt and decrypt with default keys, to do it with different keys just pass them to the var.encrypt() and var.decrypt() methods.
eg:

  • var.encrypt(encrypt_key, main_key)
  • var.decrypt(decrypt_key, main_key)

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

pkelib-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

pkelib-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file pkelib-1.0.0.tar.gz.

File metadata

  • Download URL: pkelib-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for pkelib-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1621412d3c7373eb6bc15d8db9392bdd64f52a0b695f9856ad17c58050ecba7d
MD5 da65446ab174fd51e30892bed724f50b
BLAKE2b-256 5fbeefa0ea8303a4098054d42164438bd35677f45cd8fce2aa7ae81c047027a5

See more details on using hashes here.

File details

Details for the file pkelib-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pkelib-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for pkelib-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef9729611b1795f671a1cc2a72d2ffce38ad310e401dfb233a2da8125564eda6
MD5 90fd2fbd18fdaa4084e761da011334d5
BLAKE2b-256 b9750b91a4a83d74ffb8d647e153bffa090fd5f39a74bace5f3ccd9a4e38ad14

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