This little tutorial is about signing and verifying data you send/receive between apps (= all "programs", even websites). You can use it in B4A without a change (I don't know how B4i works, but I assume there are similar libs).
You should know how RSA works. If not, take a Google search and you...
Here's nother example how to use RSA on a ESP32 based on this documentation:
- If the filesystem does not work, you need to format it with fs.format once.
- I've just copied the Public and Private Key from another app
Hey, i build a auth method for my app to protect my API and one of this step is to signed requests to the api to ensure that every request comes from my app. RSA is the best method for that, because this is not a hash, so that the same input is ever the same output. The API knows the Private...
why is this code working on B4J, but not on B4A?
Private Sub EncryptRSAWithPublicKey(Text As String,PublicKey As String) As String
Dim su As StringUtils
Dim pubkey() As Byte = su.DecodeBase64(PublicKey)
Dim Enc As Cipher
Dim kpg As...
I've found examples in C but I'm not experienced with inline C. Could someone adapt these examples to usable inline code?
- Changed to B4x as the subs can be used in B4A, too
- "Send File" added (new Button to send a file to the other client)
This tutorial is based on Erel's Asyncstreams example: https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/