gpt4 book ai didi

mysql - 为什么 sqlite .dump 加密数据到 x'2384934..' 而不是原始数据?

转载 作者:行者123 更新时间:2023-11-29 09:55:20 25 4
gpt4 key购买 nike

SQLite 表 A 有一个列 secure_name varchar(128),用于存储加密数据,例如 gAAAAAAby5666.......。为什么当我发出命令 .dump 将数据导出到文件时,数据变成了长度超过 128 的 X'67837483473843....'?

最佳答案

因为.dump command (强调我的):

converts the entire structure and data of an SQLite database into a single text file.

字符串文字的长度无关紧要,重要的是它编码的二进制数据的长度。

关于mysql - 为什么 sqlite .dump 加密数据到 x'2384934..' 而不是原始数据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53941429/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com