Skip to main content

Cipher-RSA

Project description

Cyber-RSA

A Python package to generate Cipher.

Usage

RSA is an asymmetric system , which means that a key pair will be generated , a public key and a private key , obviously you keep your private key secure and pass around the public one.

  Import CyberRSA

  encoded = encrypt(message, PublicKey())
  decoded = decrypt(encoded, PrivateKey())

  message- Message to encrypt

  PublicKey - To read the public key from PEM file.

  PrivateKey - To read the Private key from PEM file.

  generate_keys() - Using this function we can generate public key and private key PEM file in oneshot (PEM file available in parent directory of the python script).

  encoded - Encrypted message send across network.

  decoded - Decrypted message.

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

Cyber-RSA-1.0.0.tar.gz (2.7 kB view hashes)

Uploaded source

Built Distribution

Cyber_RSA-1.0.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page