GithubHelp home page GithubHelp logo

coding's Introduction

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.

coding's People

Contributors

gfs0508 avatar

Stargazers

Roman avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.