Giter VIP home page Giter VIP logo

downtable-encryption's Introduction

Stella Downtable Encryption

Downtable Encryption is a simple match-based encryption system written in Javascript and C#.

Supported Languages

  • Javascript
  • C#

Test it out

You can test out Downtable at https://stella.hs.vc/downtable-encryption

Install

Add Downtable Encryption to your HTML files in a script tag either two ways.

Self Hosted Downtable

<script src="downtable.js" type="text/javascript"></script>

Optional Parameters to this element:

src - Set this to where Downtable is stored.

Downtable Hosted by Stella (Recommended)

This option is recommended as it will be always updated to support more characters and features.

<script src="https://stella.hs.vc/downtable-encryption/downtable.js" type="text/javascript"></script>

Usage Inline

In a script, either call encrypt(data, key); to encrypt data using the key provided.

data - Data to encrypt. It has to be a string. key - Key to encrypt with. It has to be string.

Example

> encrypt("Hello World!", "Secret Code");
Output: "S3:e1:S1:S1:r1:e7:e13:r1: 1:S1:r0:S5:"

Separation only happens with the : character and cannot be anything else. Furthermore, an encryption key cannot contain a :. You can process the data afterwards to allow it to include :, or update the scripts to allow usage of :. You can use : in data.

To decrypt the data use decode(data, key); to do just that.

data - Encrypted version of data. Has to be submitted as a string. key - The key used to decrypt the data. Has to be the same key that was used to encrypt it.

downtable-encryption's People

Stargazers

 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.