当前位置:网站首页>How to use sqlcipher tool to decrypt encrypted database under Windows system
How to use sqlcipher tool to decrypt encrypted database under Windows system
2022-07-05 09:47:00 【Black Mountain demon 2018】
window Under the system , How to use sqlcipher The tool decrypts the encrypted database
Demand background
At present, the database in my project is sqlcipher Encrypted , This article describes how to use sqlcipher Tools to decrypt , It has been used by testers and other developers .
Using tools
Tool download address , Extraction code 59jq
Specific decryption operations
1. Unzip the downloaded tool
2. open cmd Command the tool to bin Under the table of contents
3. Decrypt the existing encrypted database , Based on the project universal_encrypt.db For example , perform
sqlcipher-shell64.exe universal_encrypt.db Enter into sqlite in
4. Decrypt the database , Perform the following four operations
1.PRAGMA key = '123456';
2.ATTACH DATABASE 'plaintext.db' AS plaintext KEY '';
3.SELECT sqlcipher_export('plaintext');
4.DETACH DATABASE plaintext
5. finished decrypting , This plaintext.db Decrypt the database
Other uses
1. Create database
1.sqlcipher-shell64.exe encrypted .db
2.PRAGMA key = 'password';
3.create table encrypted (id integer, name text);
4. .schema
CREATE TABLE encrypted (id integer, name text);
2. Encrypt the existing database
1.sqlcipher-shell64.exe universal.db
2.ATTACH DATABASE 'encrypted.db' AS encrypted KEY 'password';
3.SELECT sqlcipher_export('encrypted');
4.DETACH DATABASE encrypted;
3. Change Password
1.sqlite> PRAGMA rekey = ‘newPassword’;
4. Open encrypted database
1.sqlcipher-shell64.exe encrypted .db
2.PRAGMA key = ‘password’;
3. .schema
Reference article :
https://blog.csdn.net/wengpanfeng/article/details/78406172
边栏推荐
- LeetCode 496. Next larger element I
- 【对象数组的排序】
- 基于模板配置的数据可视化平台
- Understand the window query function of tdengine in one article
- [ManageEngine] how to make good use of the report function of OpManager
- 90%的人都不懂的泛型,泛型的缺陷和应用场景
- Alibaba's ten-year test brings you into the world of APP testing
- Analysis on the wallet system architecture of Baidu trading platform
- Three-level distribution is becoming more and more popular. How should businesses choose the appropriate three-level distribution system?
- 正式上架!TDengine 插件入驻 Grafana 官网
猜你喜欢
OpenGL - Model Loading
Why do offline stores need cashier software?
Understand the window query function of tdengine in one article
揭秘百度智能测试在测试自动执行领域实践
Application of data modeling based on wide table
Understanding of smt32h7 series DMA and DMAMUX
使用el-upload封装得组件怎么清空已上传附件
Evolution of Baidu intelligent applet patrol scheduling scheme
Why don't you recommend using products like mongodb to replace time series databases?
Data visualization platform based on template configuration
随机推荐
使用el-upload封装得组件怎么清空已上传附件
tongweb设置gzip
TDengine 离线升级流程
How to correctly evaluate video image quality
[two objects merged into one object]
[Yugong series] go teaching course 003-ide installation and basic use in July 2022
Gradientdrawable get a single color
A detailed explanation of the general process and the latest research trends of map comparative learning (gnn+cl)
小程序启动性能优化实践
项目实战 | Excel导出功能
百度APP 基于Pipeline as Code的持续集成实践
Figure neural network + comparative learning, where to go next?
为什么不建议你用 MongoDB 这类产品替代时序数据库?
Unity SKFramework框架(二十三)、MiniMap 小地图工具
Charm of code language
[sourcetree configure SSH and use]
[app packaging error] to proceed, either fix the issues identified by lint, or modify your build script as follow
揭秘百度智能测试在测试自动执行领域实践
[hungry dynamic table]
【对象数组a与对象数组b取出id不同元素赋值给新的数组】