本文介绍了在Android的PBKDF2功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有PBKDF2实现机器人。我想获得使用PBKDF2功能键。我找不到一个例子来这样做。
Is there PBKDF2 implementation for Android. I am trying to derive a key using PBKDF2 function. I couldn't find an example to do so.
推荐答案
自由选择是:
- http://rtner.de/software/PBKDF2.html
- http://bouncycastle.org/ (这可能比一些Android的捆绑
org.bouncycastle )
- http://www.unwesen.de/2011/06/12/encryption-on-android-bouncycastle/
- https://github.com/rtyley/spongycastle#readme
- http://rtner.de/software/PBKDF2.html
- http://bouncycastle.org/ (that might be newer than some Android-bundled
org.bouncycastle
) - http://www.unwesen.de/2011/06/12/encryption-on-android-bouncycastle/
- https://github.com/rtyley/spongycastle#readme
如果一个商业组件是一个选项,例如参见http://www.chilkatsoft.com/java-encryption.asp (样品code <一个href="http://www.example-$c$c.com/android/crypt2_pbkdf2.asp">http://www.example-$c$c.com/android/crypt2_pbkdf2.asp).
IF a commercial component is an option see for example http://www.chilkatsoft.com/java-encryption.asp (sample code http://www.example-code.com/android/crypt2_pbkdf2.asp).
另一种选择是使用 javax.crypto中的
并执行它自己,虽然我不建议......
Another option is to use javax.crypto
and implement it yourself although I wouldn't recommend that...
这篇关于在Android的PBKDF2功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!