Skip to main content

encrypt,encoder

encryptและdecryptข้อความแบบง่ายๆ(ง่ายมาก)


วิธีใช้

import encrypt_encode as enc
print(enc.encode("hello"))
#aGVsbG8=
print(enc.decode("aGVsbG8="))
#hello
print(enc.encrypt("hello"))
#('ncdLAcZ=', 'rAGVhPt3lExQBay6RDK1S5wvCLbXHcpUjW2gms4TFizMNo0Zq7k8Jdfnu9OeIY')
#encrypt(text,key)ถ้าไม่ใส่keyจะสุ่มkeyให้เอง
print(enc.encrypt("hello","rAGVhPt3lExQBay6RDK1S5wvCLbXHcpUjW2gms4TFizMNo0Zq7k8Jdfnu9OeIY"))
#ncdLAcZ=
#encrypt(text,key)ถ้าใส่keyจะreturnแค่ข้อความ
print(enc.decrypt("ncdLAcZ=", "rAGVhPt3lExQBay6RDK1S5wvCLbXHcpUjW2gms4TFizMNo0Zq7k8Jdfnu9OeIY"))
#keyหาได้จาก keygen() หรือ encrypt() ก็ได้

Metadata

Release files for encrypt-encode 2.1

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

Source distribution (sdist)

Source distribution for encrypt-encode 2.1
File Size Uploaded Provenance Actions
encrypt_encode-2.1.tar.gz 3.1 kB Without provenance Details for encrypt_encode-2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for encrypt-encode 2.1
File Interpreter ABI Platform Actions
encrypt_encode-2.1-py3-none-any.whl Python 3 none any Details for encrypt_encode-2.1-py3-none-any.whl

Total release size: 6.5 kB

Release files / encrypt_encode-2.1.tar.gz

Download URL encrypt_encode-2.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c685f111dcd07e9666fd1bee35e2d4f46854856c23d77bb47d25e00321905118
BLAKE2b-256 checksum
How to use checksums
78abb269c353db73bc23e51ddbb09f2549acc2a7cf3bf921d66643f1e6b9b9ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

Release files / encrypt_encode-2.1-py3-none-any.whl

Download URL encrypt_encode-2.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c8330e68c38bc6035ea76931b8580d8d658315f1c0eae9b26617837d4dde5f1
BLAKE2b-256 checksum
How to use checksums
548c38b283dde26bb68d4d67640d8e1971e830a5c793c172b3917833cf2b5666
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

Security for encrypt-encode 2.1

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