GithubHelp home page GithubHelp logo

Multi Upload File about lua-simple-encrypt HOT 2 OPEN

ganlvtech avatar ganlvtech commented on June 11, 2024
Multi Upload File

from lua-simple-encrypt.

Comments (2)

ganlvtech avatar ganlvtech commented on June 11, 2024

It's a little difficult to do this in a browser. Because code are writen in js and encryption is done on your computer. There is no server.

If you have node.js installed. You can download this project. Run npm install

And replace index.js with some code like

import fs from 'fs';
import luaSimpleXorEncrypt from './LuaSimpleXorEncrypt';

// You need to repeat these lines to encrypt multiple files.
const encrypted = luaSimpleXorEncrypt(fs.readFileSync(path), 'password', options);
fs.writeFileSync(newPath, encrypted);

and then add target: 'node', to webpack.config.js.

Finally, run npm run build. You will let index.js run.

from lua-simple-encrypt.

jrubimf avatar jrubimf commented on June 11, 2024

Can you do a better example?

from lua-simple-encrypt.

Related Issues (18)

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.