问题
I am using PBEWITHSHA256AND256BITAES-CBC-BC to encrypt binary data which contains sensitive user data
I just want to confirm if BouncyCastle is part of every Android SDK after (2.1) as I read a on a few sites that BouncyCastle is not part of every Android SDK.
Would like a definitive answer
回答1:
You can also try the SpongyCastle library which is a precompiled build of BouncyCastle but tested with Android.
https://github.com/rtyley/spongycastle
回答2:
BouncyCastle is not a part of Android SDK. You can download it separately and add it to your project.
In this article you can fine guid how to do it.
回答3:
BouncyCastle modified version is a part of Android SDk.
Android includes a modified version of the Bouncy Castle Api.
来源:https://stackoverflow.com/questions/8397557/bouncycastle-on-android