Giter VIP home page Giter VIP logo

sqlcipher_library_windows's Introduction

SQLCipher(SQLite3) V4.5.0 library for windows X64

This package help you bundle SQLCipher(SQLite3) library to your apps.

He was originally developed to use with SQLite3 with SQLCipher.

Dependencies

To work, SQLCipher needs work with OpenSSL 64 bits libraries (libcrypto-1_1-x64.dll and libssl-1_1-x64.dll).
These libraries are automatically pasted near the main Flutter_program.exe. to be dynamically linked with sqlcipher.dll

You can also paste these two DLLs into a Windows PATH directory of your choice.

How to use with SQLite3 package

Add an override for windows and give it the openSQLCipherOnWindows function provided by the package:

    import 'package:sqlite3/open.dart';
    import 'package:sqlcipher_library_windows/sqlcipher_library_windows.dart';


    open.overrideFor(OperatingSystem.windows, openSQLCipherOnWindows);

Errors

If you encounted some errors at runtime:

  • ensure you are on a 64 bit Windows version.
  • Use Process Monitor to find details about your error (like a dll not found for example).

Next

Today, this is a package, it could be better to move it to a plugin to avoid embedding DLLs ont other OS projects.
Unfortunately, I'm not familiar with Flutter Windows Plugin and ignore how to create a plugin with my 3 embedded DLLs.
You're welcome to make a pull request.

sqlcipher_library_windows's People

Contributors

tristan2 avatar

Stargazers

Slideep avatar Minh Tran avatar  avatar  avatar rs5173 avatar

Watchers

Luis Carrasco avatar  avatar Mobilite dev avatar

Forkers

kirakmp phr34k

sqlcipher_library_windows's Issues

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.