Giter Club home page Giter Club logo

encryption's Introduction

Just another encryption library

Hi there, I'm trying to create a program/library that lets me understand how encryption works. I may plan to add an entire encrypted file format.

⚠️⚠️DISCLAIMER⚠️⚠️: this library isn't meant to be used in any harmful way, so if it will be used in such a way, it's not my fault.

ROADMAP:

  • Undestand how encryption works (ish)
  • Create a file/library that lets me encrypt messages with a key
  • Use the library/file to encrypt a file
  • Create a file format that contains other files that are encrypted (ex.: encrypted zip-files)

I've recently come to an error: if you try to feed into the program characters such as "è", it will spit out a sequence of 2 hexadecimal numbers that are not correct. I believe it has something to do with the Lua function string.byte(), because it gives back a value of 195 instead of a value of 232. Please, try to find why it happens, cause I'm really struggling to find an answer.

Update about the previous issue: I believe that Lua translates these kinds of characters to two characters, but it translates them back to their original form when you use string.char(). I believe that this is an explaination of the phenomenon that is happening

Explaination

Now the program lets you insert the number of times that you want it to be encrypted, therefore it should be "safer".

Thanks for your attention. ~DefinetlyNotCarl

encryption's People

Contributors

definetly-not-carl 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.