Skip to content
/ TLEA Public

an experimental symmetric key encryption algorithm (only for ASCII printable characters)

License

Notifications You must be signed in to change notification settings

ApratimR/TLEA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

TLEA (Totally Logical Encryption Algorithm)

As the Acronym says its a Logical (Pun found?? ) , under-development symmetric key encryption algorithm that aim to

  • be secure
  • be fast
  • easy to modify
  • able to avoid various attacks

Reason i am making this thing :

  • i am just intrested in making/understanding this kind of stuff
  • and this is also my university project

Requirement

  • made on numpy == 1.19.1

How to use

  1. drop the file tlea.py in the directory of your file in which you want to use

  2. use the script below as reference

import tlea

thedata = "qwerty"
thekey = "test"


#mode 1 is for encryption
a = tlea.tlea(data=thedata,key=thekey,mode=1)
print(a)  #V3cgIW1eKnteMSgzQWlNSFJadTUzUVJtNzIgakZjXyYgSi4kfit0bycnTkh5fl9cKDRoemgldV5xdHxkKzpibFpbXiRgTFlHKXJ7SSVsJWhUX2QsLzhdNDZndEldI0g=


#mode 2 is decryption
a = tlea.tlea(a,thekey,2)
print(a)  #qwerty

TODOs

  • make it work
  • improve security (need to use chaining to avoid pattern based attack)

WARNING

Do not use it for production use as testing is till done

About

an experimental symmetric key encryption algorithm (only for ASCII printable characters)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages