N nickt Member Mar 20, 2023 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Mar 21, 2023 #2 Dart will not help. The Encryption library is based on the native encryption SDK. Which method of encryption are you looking for? Upvote 0
Dart will not help. The Encryption library is based on the native encryption SDK. Which method of encryption are you looking for?
N nickt Member Mar 21, 2023 #3 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
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
Erel B4X founder Staff member Licensed User Longtime User Mar 22, 2023 #4 Ed25519 is not natively supported by Android. You will need to find a Java library that supports it. Once you find one you can access it using JavaObject / inline java. Upvote 0
Ed25519 is not natively supported by Android. You will need to find a Java library that supports it. Once you find one you can access it using JavaObject / inline java.