当前位置:网站首页>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
边栏推荐
- TDengine 已经支持工业英特尔 边缘洞见软件包
- Are databases more popular as they get older?
- The most comprehensive promotion strategy: online and offline promotion methods of E-commerce mall
- 代码语言的魅力
- 百度评论中台的设计与探索
- Tdengine connector goes online Google Data Studio app store
- 百度交易中台之钱包系统架构浅析
- Charm of code language
- H.265编码原理入门
- The research trend of map based comparative learning (gnn+cl) in the top paper
猜你喜欢
TDengine 连接器上线 Google Data Studio 应用商店
Develop and implement movie recommendation applet based on wechat cloud
【sourceTree配置SSH及使用】
Node の MongoDB Driver
LeetCode 503. Next bigger Element II
写入速度提升数十倍,TDengine 在拓斯达智能工厂解决方案上的应用
Idea debugs com intellij. rt.debugger. agent. Captureagent, which makes debugging impossible
OpenGL - Coordinate Systems
Roll up, break through 35 year old anxiety, and animate the CPU to record the function call process
Principle and performance analysis of lepton lossless compression
随机推荐
First understanding of structure
SQL learning - case when then else
C language - input array two-dimensional array a from the keyboard, and put 3 in a × 5. The elements in the third column of the matrix are moved to the left to the 0 column, and the element rows in ea
使用el-upload封装得组件怎么清空已上传附件
Roll up, break 35 - year - old Anxiety, animation Demonstration CPU recording Function call Process
Vs code problem: the length of long lines can be configured through "editor.maxtokenizationlinelength"
Evolution of Baidu intelligent applet patrol scheduling scheme
Unity skframework framework (XXIII), minimap small map tool
[sourcetree configure SSH and use]
Application of data modeling based on wide table
mysql安装配置以及创建数据库和表
一文读懂TDengine的窗口查询功能
解决idea调试过程中liquibase – Waiting for changelog lock….导致数据库死锁问题
Lepton 无损压缩原理及性能分析
[sorting of object array]
Principle and performance analysis of lepton lossless compression
Unity SKFramework框架(二十四)、Avatar Controller 第三人称控制
【技术直播】如何用 VSCode 从 0 到 1 改写 TDengine 代码
百度智能小程序巡檢調度方案演進之路
What should we pay attention to when entering the community e-commerce business?