<tfoot id='qOHm3'></tfoot>

          <bdo id='qOHm3'></bdo><ul id='qOHm3'></ul>

        <legend id='qOHm3'><style id='qOHm3'><dir id='qOHm3'><q id='qOHm3'></q></dir></style></legend>
        <i id='qOHm3'><tr id='qOHm3'><dt id='qOHm3'><q id='qOHm3'><span id='qOHm3'><b id='qOHm3'><form id='qOHm3'><ins id='qOHm3'></ins><ul id='qOHm3'></ul><sub id='qOHm3'></sub></form><legend id='qOHm3'></legend><bdo id='qOHm3'><pre id='qOHm3'><center id='qOHm3'></center></pre></bdo></b><th id='qOHm3'></th></span></q></dt></tr></i><div id='qOHm3'><tfoot id='qOHm3'></tfoot><dl id='qOHm3'><fieldset id='qOHm3'></fieldset></dl></div>

        <small id='qOHm3'></small><noframes id='qOHm3'>

        python中的加密文件或数据库

        Encrypted file or db in python(python中的加密文件或数据库)
        1. <legend id='RRwjI'><style id='RRwjI'><dir id='RRwjI'><q id='RRwjI'></q></dir></style></legend>

          <small id='RRwjI'></small><noframes id='RRwjI'>

              <tbody id='RRwjI'></tbody>
            <tfoot id='RRwjI'></tfoot>

              • <bdo id='RRwjI'></bdo><ul id='RRwjI'></ul>
                <i id='RRwjI'><tr id='RRwjI'><dt id='RRwjI'><q id='RRwjI'><span id='RRwjI'><b id='RRwjI'><form id='RRwjI'><ins id='RRwjI'></ins><ul id='RRwjI'></ul><sub id='RRwjI'></sub></form><legend id='RRwjI'></legend><bdo id='RRwjI'><pre id='RRwjI'><center id='RRwjI'></center></pre></bdo></b><th id='RRwjI'></th></span></q></dt></tr></i><div id='RRwjI'><tfoot id='RRwjI'></tfoot><dl id='RRwjI'><fieldset id='RRwjI'></fieldset></dl></div>

                  本文介绍了python中的加密文件或数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个在 python 中插入/选择的 sqlite3 db.该应用程序运行良好,但我想对其进行调整,以便没有密码就无法从数据库中读取数据.我怎么能在python中做到这一点?请注意,我不知道从哪里开始.

                  I have a sqlite3 db which i insert/select from in python. The app works great but i want to tweak it so no one can read from the DB without a password. How can i do this in python? note i have no idea where to start.

                  推荐答案

                  您可以使用 SQLCipher.

                  You can use SQLCipher.

                  http://sqlcipher.net/

                  SQLite 的开源全数据库加密

                  Open Source Full Database Encryption for SQLite

                  SQLCipher 是一个 SQLite 扩展,它为数据库文件提供透明的 256 位 AES 加密.页面在写入磁盘之前被加密,并在读回时被解密.由于占用空间小且性能卓越,因此非常适合保护嵌入式应用程序数据库,也非常适合移动开发.

                  SQLCipher is an SQLite extension that provides transparent 256-bit AES encryption of database files. Pages are encrypted before being written to disk and are decrypted when read back. Due to the small footprint and great performance it’s ideal for protecting embedded application databases and is well suited for mobile development.

                  1. 极快的性能,只需 5-15% 的开销对许多操作进行加密
                  2. 数据库文件中的数据 100% 已加密 使用良好的安全性实践(CBC 模式,密钥派生)
                  3. 零配置和应用级密码学广泛的平台
                  4. 支持:适用于 C/C++、Obj-C、QT、Win32/.NET、Java、Python、Windows、Linux、iPhone/iOS 上的 Ruby 等……

                  这篇关于python中的加密文件或数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  plist or sqlite(plist 或 sqlite)
                  Why are some mysql connections selecting old data the mysql database after a delete + insert?(为什么一些mysql连接在删除+插入后选择mysql数据库中的旧数据?)
                  Rails 4.0rc1 app not running due to missing sqlite3 gem(由于缺少 sqlite3 gem,Rails 4.0rc1 应用程序没有运行)
                  strftime error while switching my database from sqlite3 to mysql in Rails4(在 Rails4 中将我的数据库从 sqlite3 切换到 mysql 时出现 strftime 错误)
                  SQLite: bind list of values to quot;WHERE col IN ( :PRM )quot;(SQLite:将值列表绑定到“WHERE col IN (:PRM);)
                  How to add results of two select commands in same query(如何在同一个查询中添加两个选择命令的结果)

                    1. <small id='YHsT1'></small><noframes id='YHsT1'>

                        <bdo id='YHsT1'></bdo><ul id='YHsT1'></ul>
                      • <tfoot id='YHsT1'></tfoot>
                          <tbody id='YHsT1'></tbody>

                          <legend id='YHsT1'><style id='YHsT1'><dir id='YHsT1'><q id='YHsT1'></q></dir></style></legend>
                        • <i id='YHsT1'><tr id='YHsT1'><dt id='YHsT1'><q id='YHsT1'><span id='YHsT1'><b id='YHsT1'><form id='YHsT1'><ins id='YHsT1'></ins><ul id='YHsT1'></ul><sub id='YHsT1'></sub></form><legend id='YHsT1'></legend><bdo id='YHsT1'><pre id='YHsT1'><center id='YHsT1'></center></pre></bdo></b><th id='YHsT1'></th></span></q></dt></tr></i><div id='YHsT1'><tfoot id='YHsT1'></tfoot><dl id='YHsT1'><fieldset id='YHsT1'></fieldset></dl></div>