Stack: LibGDX, robovm, java(kotlin) Platform: IOS Algo: ChaCha Task: encrypt/decrypt byte arrays
I've tried Cipher.getInstance(), but got NoSuchAlgorithmException on IOS (same code on Android build works fine). BC is visible among security providers. I've tried bouncycastle's ChaChaEngine. Same result: Android - fine, IOS - ChaChaEngine class not found
Any ideas how to implement ChaCha on IOS or link to sourcecode to implement it by hands?
I've solved this issue. Posting steps for anyone facing same problem:
<pattern>com.android.org.bouncycastle.**</pattern>