Encryption to base 64
Project description
# py-encryption
Python package for encryption strings by merging some key and string throw base64encode.
Example:
```python
# 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)
```
Python package for encryption strings by merging some key and string throw base64encode.
Example:
```python
# 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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file encryptor64-1.2.0.tar.gz
.
File metadata
- Download URL: encryptor64-1.2.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f16b784e5e81f4d1684d5b35279b1f7c33a019973f969143a5a3b5a93255e14 |
|
MD5 | 06acb515c10c63e9f4aa410f57f04736 |
|
BLAKE2b-256 | a6b04aaf6da3f5bfd2c9f4d5a43831d9ffa3655dad25dc6cb0f810ad09c96bd4 |
File details
Details for the file encryptor64-1.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: encryptor64-1.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d49938d173721de34577968f9f9eb5c670baac4d80d866323011a4217ba4744 |
|
MD5 | a8a4c6d7fdface5bf9e32dc00b2f195a |
|
BLAKE2b-256 | 6f82db1c1bcead00fb9158ce1efc919294077454be7a55459b602d2fecf6d9f6 |