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

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

问题描述

Android使用SQLite数据库来存储数据,我需要的SQLite数据库进行加密,这可怎么办呢?据我所知,应用程序的数据是私有的。不过,我需要显式加密我的应用程序正在使用的SQLite数据库。

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 是一个SQLite扩展,提供数据库文件透明的256位AES加密。

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

此前sqlcipher它是开源的完整数据库加密SQLite的是没有可用于Android。但现在它可以作为alpha版本为Android平台。 开发人员已经更新了标准的Andr​​oid应用程序的Notepadbot使用SQLCipher。

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天全站免登陆