Skip to main content

py-aesrepeat

To install

pip install aesrepeat

Short Description (Japanese)

Sample code

from aesrepeat import *

text = "Pythonの暗号化ライブラリとそれらの概要を表にまとめました。非常にたくさんのライブラリがあることがわかりました。それぞれのライブラリが得手不得手を持っているためユースケースに応じて適切なライブラリを使用する必要があります。"
bytes = text.encode()

ar = AES128(["aa", "bb"])

print("")
encoded = ar.encode_text(text)
print(encoded)
decoded = ar.decode_text(encoded)
print(decoded)

print("")
encoded = ar.encode_bytes(bytes)
print(encoded)
decoded = ar.decode_bytes(encoded)
print(decoded.decode())

print("")
list = [11, 22, 33]
encoded = ar.encode_pickle(list)
print(encoded)
decoded = ar.decode_pickle(encoded)
print(decoded)

ar = AES256(["aa", "bb"])

print("")
encoded = ar.encode_text(text)
print(encoded)
decoded = ar.decode_text(encoded)
print(decoded)

print("")
encoded = ar.encode_bytes(bytes)
print(encoded)
decoded = ar.decode_bytes(encoded)
print(decoded.decode())

print("")
list = [11, 22, 33]
encoded = ar.encode_pickle(list)
print(encoded)
decoded = ar.decode_pickle(encoded)
print(decoded)

Metadata

Release files for aesrepeat 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for aesrepeat 1.0.0
File Interpreter ABI Platform
aesrepeat-1.0.0-py3-none-any.whl Python 3 none any Details

Release files / aesrepeat-1.0.0-py3-none-any.whl

Download URL aesrepeat-1.0.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
489459d75e6351f1ca459df5ae62a93b90393b97a795d0bfcb7ecd49fed6039d
BLAKE2b-256 checksum
How to use checksums
ae25beed8de4014aa0e0e4f7fc3346b77cc921a3ad92f2260fd633aaa27d3227
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for aesrepeat 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page