Android - 加密和解密 [英] Android - encryption and decryption
问题描述
谢谢
为什么不使用安全HTTP(HTTPS)?不需要使用密钥来解决问题,它会为您加密下载。
使用自己的密钥的问题是解密密钥将在您的应用程序中,而任何想要解密流的人都很容易访问 - 这绝对不会安全,因为Android应用程序相对容易进行逆向工程(Proguard混淆会有所帮助)
I am downloading apk by HTTPurlConnection and I am wondering, if there are possibilites of encryption on the side of the web and decryption after download with private and public keys. I know this was used in Windows Mobile smartphones, but is is possible to do the same with Android?
Thanks
Why not use secure HTTP (HTTPS) instead? No need to mess about with keys, and it will encrypt the download for you.
The problem with using your own keys is the decryption key will be in your app, and very easily accessible to anyone who wants to decrypt the stream - it's never going to be that secure as Android apps are relatively easy to reverse-engineer (Proguard obfuscation will help a bit)
这篇关于Android - 加密和解密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!