Skip to main content

No project description provided

Project description

>>> import rsapy
>>> pub, pri = rsapy.genkey(2**512) # generate rsa key
>>> vig = rsapy.genvigkey(100) # generate vigenere key with length 100
>>> encoded = encode("message", pub)
>>> print(encoded)
>>> decoded = decode(encoded, pri)
>>> print(decoded)
>>> encoded = vigencode("message", vig)
>>> print(encoded)
>>> decoded = vigdecode(encoded, vig)
>>> print(decoded)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rsapy-0.0.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file rsapy-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: rsapy-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.8

File hashes

Hashes for rsapy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 400587799b4bf92fc8b2c314a3536c7a92d8c62027557fc86db938aa2c84415b
MD5 f59205e2fab31f3231635fd689f375a3
BLAKE2b-256 0a5d27bd41060bce72fc40cdfaa4aa525b64a1705cd473741f7e7f8be3a76453

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