Android Question B4x Using external libraries for encryption

nickt

Member
Hi,

From what I have been able to glean from the forum there is an encryption library based on bouncycastle and it has been updated to 171. I need access to more than AES and RSA so my question is how to do this in the most time efficient way?

I could write a series of functions in Dart and compile a library for each platform but it isn't clear from the posts I have seen just how I would integrate it OR do I write some JAVA functions and inline them (converting to objective C for apple)

Thanks
 

nickt

Member
Ideally asynchronous Ed25519 (512) for both key gen and secret key protection and 256 Xchacha20 as it's faster and a stream cipher although AES 256 would be a 2nd choice. I know both are in the bouncycastle libraries, I just don't know how to get at them from B4x (which I would much rather be using than flutter/MAUI/CodenameOne/QT etc).

Hopefully there is a workaround

Thanks
 
Upvote 0
Top