0

I'm using the Crypto provider in my application. I know that it is deprecated in Android N. However I used the solution from this question and it was working perfectly fine.

Now in Android P (API 28), they've completely removed it details here and here.

I'm getting below warnings in my logcat -

W/System.err: java.security.NoSuchAlgorithmException: class configured for SecureRandom (provider: Crypto) cannot be found.

Please assist me with the solutions or any links which will lead me to the solutions.

Thanks in advance.

Markus Kauppinen
  • 3,025
  • 4
  • 20
  • 30
Amrut
  • 2,655
  • 3
  • 24
  • 44
  • 1
    just don't use it. It has been deprecated for a reason, not just for fun. Stop trying to use it, and move to another provider – Vladyslav Matviienko Oct 29 '18 at 08:52
  • Related [Fix for Security “Crypto” on Nougat does not work for Pie](https://stackoverflow.com/questions/51799526/fix-for-security-crypto-on-nougat-does-not-work-for-pie) – AskNilesh Oct 29 '18 at 08:57
  • @NileshRathod Do we've have any solution for this? – Amrut Oct 29 '18 at 09:04

0 Answers0