Android slow AES decryption

前端 未结 2 1816
北海茫月
北海茫月 2020-12-20 04:22

Ref: Android encryption/decryption issue (AES)

I am building an android app which requires aes decryption of a really large package (~50Mb) and it is really slow whe

相关标签:
2条回答
  • 2020-12-20 04:41

    Try SpongyCastle its a repackaged BouncyCastle that wont conflict with the one released with Android. The one on Android systems is old (if you even have a release of Android that includes it).

    This should be all you need.

    0 讨论(0)
  • 2020-12-20 04:45

    I'm facing the same issue as Naveen.

    I do have some doubts regarding spongy castle. Correct me if i'm wrong. This post i've found: http://www.coderanch.com/t/134504/Security/Bouncy-Castle-vs-Sun-JCE Seems like performance might be negligible. Though it did not specifically mentioned about spongycastle.bouncycastle but i'm assuming it is, as sun jce's crypto library uses a stripped down version of bouncy castle.

    0 讨论(0)
提交回复
热议问题