Code Monkey home page Code Monkey logo

ahmad-encryption-decryption's Introduction

ahmadEncryptionDecryption v1.0.0

This method works on 7 length base e-n-c-r-y-p-t, d-e-c-r-y-p-t which makes 7 in length

ENCRYPTION STEPS
1 - Generates 7 length random alphanumeric string and add on start
2 - Check the length of string and increase ASCII of character by 7 of EVEN characters.
2 - Check the length of string and decrease ASCII of character by 7 of ODD characters.
3 - It see if decreased ASCII code is less than 32. If yes then it continues from 255 (ie 34->33->32->255).
4 - It see if increased ASCII code is greater than 255. If yes then it continues from 33 (ie 254->255->32).
5 - Generates 7 length random alphanumeric string and add at end.
6 - If character exceed 255 then it will resumes from 32 as for SPACE.
7 - If character goes below 32 it will resume from 255.


DECRYPTION STEPS
1 - Remove first 7 strings.
2 - Remove last 7 strings.
3 - Check the length of string and increase ASCII of character by 7 of ODD characters.
4 - Check the length of string and decrease ASCII of character by 7 of EVEN characters.
5 - If character exceed 255 then it will resumes from 32 as for SPACE.
6 - If character goes below 32 it will resume from 255.

ahmad-encryption-decryption's People

Contributors

iahmadhabibx avatar

Stargazers

 avatar Afnan Mahmood avatar

Watchers

 avatar

Forkers

hadi-ali-khan

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.