For a long time now whenever I create a bespoke database driven solution for a client I always make sure that the users database passwords and email addresses are encrypted using BCrypt with salt, that way I can tell my clients that their users details are securely stored in their...
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...
I've found examples in C but I'm not experienced with inline C. Could someone adapt these examples to usable inline code?
I have been looking in the forum for an example that uses a public key encryption system and private key. The closest I've been is with this post.
In the example, the Keygenerator generates a key and...
Last weekend I migrated my XAMPP test environment (Apache/PHP/MySql). It came with PHP 7.x. Yesterday I wanted to test one of my Apps using AES and Mcrypt for it in PHP but it didn't work no more. I noticed that MCrypt was deprecated anyway and even was removed due to security and other issues...
hi, not sure where to post this question. but i'm trying to "AES/CBC/PKCS7Padding" signature with 16 bit block, it has to be specific, i've been looking at all the forums, but just don't seem to make it happen. obviously, i'm new to encryption methods, not to b4a. i'm trying to connect to a...
- 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/
On one of my projects, I had to transfer sensitive data from Android to PC but - with RC4 encription.
I wrote a little code that I want to share with you...
Maybe Android supports RC4 encryption in some of its libs, I'm not sure, but this code may be usefull for someone.
This code is not...
I want to upload huge files >100Mb with FirebaseStorage lib, but I would also want to encrypt the file before uploading it.
I could encrypt file before uploading it, but there might not be enough memory available for the bigger encrypted files.
Is there any way to do this without creating...
Hi, I need to send a encrypted String from Android Phone to Windows computer.
So I need a B4A Encrypt , and C# / vb.net Decrypt code.
I have tried various DES, 3DES libraries.
So if any one of you have got this right, please post the code below.
Hi There, i have search every where and can't seem to find a library for cipher input stream in b4j.the cipher library already available is not what i need.can someone tell me how to use CipherInputStream using java object or something
Hey guys :)
I used this library to protect data
Before the encryption, the database size was 104 MB, but after the encryption 98.2 MB.
(The volume of the database was reduced to 6 MB).:D:D
After the release of the program, we see that the APK file size has changed from 22.5 MB to 104 MB...
I have a bash script in linux that works correclty, but i wantes to port the code to BJ4.
Is it possible to achieve the same in B4J ??
I was thinking of the encrypt and string utils for the base64 encode !?
curl --user username:password -H "Content-Type:text/xml" -i -X POST...
I have spent some time to make this Encryption Algorithm work. Firstly I tried to convert the java code into vb, but have several problems with Usigned Int bit calculations. Even using long numbers gave problems. So, I decided to embed java code inside a class file. Follows the code: