Android数据库加密 [英] Android database encryption

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

问题描述

Android使用SQLite数据库来存储数据,我需要加密SQLite数据库,这怎么可以做呢?我理解应用程序数据是私有的。但是,我需要明确加密我的应用程序使用的SQLite数据库。

解决方案

SQLCipher 是一种SQLite扩展,它为数据库文件提供透明的256位AES加密。



早期的sqlcipher是开源的SQLite的完全数据库加密不适用于Android。但现在它可以作为alpha版本为Android平台。
开发人员更新了标准的Android应用程序Notepadbot以使用SQLCipher。



因此,这绝对是目前最好的和最简单的选项。

Android uses SQLite database to store data, I need to encrypt the SQLite database, how can this be done? I understand that application data is private. However I need to explictly encrypt the SQLite database that my app is using.

解决方案

SQLCipher is an SQLite extension that provides transparent 256-bit AES encryption of database files.

Earlier sqlcipher which is Open Source Full Database Encryption for SQLite was not available for android. But now it's available as alpha release for android platform. Developers have updated the standard android application 'Notepadbot' to use SQLCipher.

So this is definitely the best and simplest option as of now.

这篇关于Android数据库加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆