Skip to main content

Encryption to base 64

Project description

# py-encryption
Python package for encryption strings by merging some key and string throw base64encode.

# coding=utf-8
# Encoding
from encryption.encryption import *
some_key = "3jdg472666HJA83jJA723lL"
encrypt = Encryption(key=some_key)
encoded_string = encrypt.encode("my_string_for_encode")
print (encoded_string)

# Decoding
from encryption.encryption import *
some_key = "3jdg472666HJA83jJA723lL"
encrypt = Encryption(key=some_key)
decoded_string = encrypt.decode(encoded_string)
print (decoded_string)

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

encryptor64-1.2.0.tar.gz (2.9 kB view hashes)

Uploaded source

Built Distribution

encryptor64-1.2.0-py2.py3-none-any.whl (3.3 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page