Skip to main content

encrypt encode text

Project description

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() ก็ได้

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

encrypt_encode-2.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

encrypt_encode-2.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file encrypt_encode-2.0.tar.gz.

File metadata

  • Download URL: encrypt_encode-2.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for encrypt_encode-2.0.tar.gz
Algorithm Hash digest
SHA256 97eb57739675dd8c7e564c9f101f8a96c1aea574c6db7cd12daccb314746bbe5
MD5 8e6f572c5d52f5e04c82bf1b50b4c840
BLAKE2b-256 5864c0d2a59bd064b445fbbd9c2b93356dc903d96fb072f856e4ebb363b7ff12

See more details on using hashes here.

File details

Details for the file encrypt_encode-2.0-py3-none-any.whl.

File metadata

  • Download URL: encrypt_encode-2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for encrypt_encode-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb9cf22a9459768c0cb03afa2f13736df0fa9fd9f354bb9e256aa62310a207dc
MD5 73b00191ba50c554763e023e8b298de9
BLAKE2b-256 aa99fcf8b0b04ec80809b7c7d35a7e01f1a0d1f0b0cf9fa327dd13973cd62c13

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page