Giter Club home page Giter Club logo

electron-sqlcipher's Introduction

在 Electron 中结合 SQLCipher

sqlcipher是sqlite的扩展,它对sqlite进行数据加密,保证了数据安全。

一般情况下从SQLite3添加扩展必须要经过重新编译,对于c++外行来说有点棘手,所以在这里我是采用安装 @journeyapps/sqlcipher 包。

Github地址:https://github.com/journeyapps/node-sqlcipher

必要环境组件

在项目开始之前,

windows 10

必须安装 Visual Studio 2015 和 Python 2.7 。注意:Python 必须是 2.7,不能是 3 以上版本。在安装 Visual Studio 时记得安装上 win 10 SDK,保证在 electron-rebuild 时不会报错。

QUICK START

$ git clone https://github.com/zcorw/electron-sqlcipher.git
$ cd electron-sqlcipher
$ npm i
$ npm run rebuild

如果执行没有报错,此时你就可以在 Electron 中使用 SQLCipher。

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.