PyEncrypter

A simple yet secure encryption package.


Keywords
decryption, encryption, python, python-library
License
MIT
Install
pip install PyEncrypter==0.2.3

Documentation

PyEncrypter

PyEncrypter is a simple yet safe Python encryption/decryption library. In some time, the main release will be officialy published.


Installation

All you need to do is just type the following code in your terminal to install, or you could copy and paste it as well.

pip install PyEncrypter

If it doesn't work, you could try the following:

python.exe -m pip install --user PyEncrypter

Commands

#Importing the package
import PyEncrypter
#Initializing the object
variable = PyEncrypter.ObjInit()
#Encryption command
variable.encrypt(data)
#Decryption command
variable.decrypt(data)

Note: It is strongly advisable to delete the object after usage of the command by the "del variable" command.

Examples for usage

import PyEncrypter
var = input("Enter your message: ")
secret_code = PyEncrypter.ObjInit()
secret_code.encrypt(var)
print("Your secret code is", secret_code)
del secret_code

var2 = input("Enter secret code: ")
message = PyEncrypter.ObjInit()
message.decrypt(var2)
print("Your message is", message)
del message