Android的SQLite的密码加密? [英] Android SQlite password encryption?

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

问题描述

所以,我有一个想法,一个Android应用程序(只是为了学习)因为即时通讯刚刚开始。这将基本上是一个应用程序,让你的存储/跳马您的密码,你需要记住的。但是,如果加密/ SQLite的,通过它们进行解密(这将是存储中位数)。可以的Andr​​oid / SQLITE3做什么类型的加密?

So I had an idea for an Android App (just for learning) since im just starting out. it would basically be an app that lets your "store/vault" your passwords you need to remember. But it would encrypt/decrypt them through SQlite (which would be the storage median). What types of encryption can Android/SQlite3 do?

推荐答案

您可能希望使用Android的的 javax.crypto中的包,然后存储在sqlite3的行的加密数据。

You probably want to use Android's javax.crypto package and then store the encrypted data in sqlite3 rows.

这提供对称加密,让用户输入这将解开被加密的密码数据库内容的密码。

This provides symmetric encryption, allowing your user to enter a password which would unlock content in the database that was encrypted with that password.

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

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