>>> 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)
Metadata
Release files for rsapy 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rsapy-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / rsapy-0.0.2-py3-none-any.whl
| Download URL | rsapy-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
400587799b4bf92fc8b2c314a3536c7a92d8c62027557fc86db938aa2c84415b
|
|
BLAKE2b-256 checksum How to use checksums |
0a5d27bd41060bce72fc40cdfaa4aa525b64a1705cd473741f7e7f8be3a76453
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|