Skip to main content

Easily encrypt/decrypt bytes with password

Project description

About

Bytecrypt is a python package for easy data encryption / decryption with password.

Usage

# main.py

from bytecrypt import encrypt_bytes
from bytecrypt import decrypt_bytes

encrypted_data = encrypt_bytes(b"secret", b"password")
decrypted_data = decrypt_bytes(encrypted_data, b"password")

print("\nEncrypted data: " + str(encrypted_data.decode("utf-8")))
print("\nDecrypted data: " + str(decrypted_data.decode("utf-8")))
$ python main.py

Encrypted data: gAAAAABnO7wzHm-WLv-s_fQgHRe_-0Al_CmzUU7XfZcRaRSBXbLy1j8Z97KhiY8nZbaHETyKSO_NuGQH1f73MMs58nrT7pxWJg==

Decrypted data: secret

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

bytecrypt-0.0.6.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

bytecrypt-0.0.6-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file bytecrypt-0.0.6.tar.gz.

File metadata

  • Download URL: bytecrypt-0.0.6.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for bytecrypt-0.0.6.tar.gz
Algorithm Hash digest
SHA256 46e7388a711bfdbf2c41e153a6f556b8b9684fd3d41f851f5c70242ae577f62b
MD5 6931f3c447b2ae1c540238dc28b0615d
BLAKE2b-256 b54b390767509b439bfb85173ffe92aa753feffa1c7fe5b7c91d0e200d5416df

See more details on using hashes here.

File details

Details for the file bytecrypt-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: bytecrypt-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for bytecrypt-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 08e782fb56b2f70fe74d52096e6ebb57bef5eeb417c57096b435e96833d54dee
MD5 e0d24302dd26f83504a10e21e0d57ffd
BLAKE2b-256 6349cbd5a7d2b868209c11a43b0576114ae80bad4c8cccf8074232733ba3d46c

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