Skip to main content

A simple python library for encryption and decryption . Library contain 10 (version 1.0) including ciphers and various other cryptography

Project description

Endecrypt

A simple python library for encryption and decryption . Library contain 10 (version 1.0) including ciphers and various other cryptography

Donate To Programmer [Donate] -

bc1q9xu6n7cks0gddgqhdp4nqf7je2jetge0ys9sx7knf5653ukpkgmsptykwy

OR - Donate To Programmer

Feature

  • Easy to use
  • Simple 3 - 4 line code required to convert text to encryption
  • Input also accepted
  • More feature added Later

Installation

For Windows and MAC User

pip install endecrypt OR

python -m pip install endecrypt

For Linux User pip3 install endecrypt

Usage

Simple Encryption

import endecrypt

#Encryption
message_1 = "hello world"         #Use Small Word
encryption = 'morse'

endecrypt.encode(message_1 ,encryption)
# >> .... . .-.. .-.. ---  .-- --- .-. .-.. -..

#Decryption
message_2 = ".... . .-.. .-.. ---  .-- --- .-. .-.. -.."     # Don't leave space  
decryption = 'morse'

endecrypt.decode(message_2 , decryption)
# >> hello world

Advance Encryption

In Advance Encryption we can use cipher text this library contain 5 ciphers more added later

from endecrypt import cipher

# Encryption
message_1 = "Hello World"
encryption = 'affine'        #We Can Use Anything As Variable ex - y = 'affine' 
slop_1 =7
slop_2 = 25

cipher.encode(message_1, encryption , slop_1 , slop_2)
# >> WBYYTXTOYU

#Decryption
message_2 = "WBYYTXTOYU"
decryption = 'affine'          #We Can Use Anything As Variable ex - y = 'affine' 
slop_1 =7
slop_2 = 25

cipher.decode(message_2 , decryption , slop_1 , slop_2)
# >> Hello World
For More Sample Run examples.py

Like my work -

Donate To Programmer [Donate] -

bc1q9xu6n7cks0gddgqhdp4nqf7je2jetge0ys9sx7knf5653ukpkgmsptykwy

OR Donate To Programmer

Project details


Release history Release notifications | RSS feed

This version

1.9

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

endecrypt-1.9.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

endecrypt-1.9-py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 3

Supported by

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