Skip to content

gfs0508/Coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

Coding

About | Versions and Updates

❓ About

  • 🔥 Simple coding using python

Versions and Updates

Version 2.0.0

  • New encoding method
  • Possibility to change or add an encryption key
  • Possibility to code through a GUI
  • Possibility to start via a command line - cmd or terminal.

In command line

Function Encode Decode
Strings -s "String ENC" -e -s "String Dec" -d
Files Without Title of file -f "file.txt" -e -f "fileENC.txt" -d
Files With Title of file -f+ "file.txt" -e -f+ "fileENC.cef" -d
Files Without Modifications -f- "fileENC.cef" -d

If you need help, use -h to show the help menu;

Use -v to show the version;

Change encryption key

  • Look for "SELECTED_KEY" in "coding.py" and change the variable value to another key string.
  • To make a new string key, write the desired characters into the string. There can only be one character of each.
  • The default key can be modified, possibly it's normal that it doesn't make all the characters.

Version 1.2.0

  • Added new special characters.
  • Possibility to encode the title of a file (.txt)
  • Possibility to decode, but not change the file.

Encode and Decode files with title

from coding import *

file = "file.txt"

file_enc_title = " PRjw4mNm"

file_enc = code.encoder(file, "f+") # encoding file with mode=file+

file_dec = code.decoder(file_enc_title, "f+") # decoding file with mode=file+

Decode file without writing

file_enc_title = " PRjw4mNm"

file_dec = code.decoder(file_enc_title, "f-") # decoding file with mode=file-
print(file_enc_title)

Version 1.1.0

  • Added new characters: Uppercase and some special characters.
  • Possibility of encoding and decoding files (*.txt).

Encode and Decode Strings

from coding import *

var = "strings to encode"

var_enc = code.encoder(var, "s") # encoding string "var" with mode=string
print(var_enc)

var_dec = code.decoder(var_enc, "s") # decoding string "var" with mode=string
print(var_dec)

Encode and Decode Files

from coding import *
  
file_txt = "file.txt"
  
file_enc = code.encoder(var, "f") # encoding file "file_txt" with mode=file
file_dec = code.decoder(var_enc, "f") # decoding file "file_txt" with mode=file

Version 1.0.0

  • Encode and decode strings.