B4J Tutorial [BANanoVuetifyAD3] Encrypting & Decrypting Traffic between JavaScript (Encrypt) & PHP (Decrypt) - Mashiane    
Apr 13, 2022   
(1 reaction) change this by encrypting and decrypting the traffic between JavaScript & PHP? Fortunately... a Save button, we want to get the form content and encrypt it before we can send to the PHP...
link: No problem. Security has always been one of my pet peeves. Something we take in our company very ser...
link: Thanks for your interest and input @alwaysbusy ?...
link: the encrypted payload e.g...
B4A Library Decrypter - De-/Encrypt String to base64 (including compatible php code to de/Encrypt) - DonManfred    
Feb 6, 2017   
(23 reactions)   
tags: encrypt b4x and php. The string to decode must be the output of the Encrypt-Method.
For the php-side you can use the attached php-class to En- and de-crypt strings which are encrypted by the b4a-library (or by the php itself...
link: Convert the jpg to bytes, encrypt the bytes...
link: hello , how to encrypt a jpg file with this lib ? and decrypt it ?...
link: the php-side you can use the attached php-class to En- and de-crypt strings which are encrypted...
B4J Code Snippet [B4x] AES-256 encryption with salt and iv (works with all platforms like php, .net, etc.) - KMatle    
Feb 19, 2021   
(14 reactions)This example is based on agrahams encryption library: Encryption Lib
1. Generate a 32 byte pw (just call the sub) and store it
2. Encrypt the data by calling AES_Encrypt. Return is a byte array or...
link:
I had to connect AES-256-CBC B4A<->PHP and I'm pretty sure not only me fight...
link:
correct code for reference:
Public Sub AES_Encrypt(data As String, secretkey As String...
link: i modified the code to encrypt & decrypt without salt, encrypt worked, but decrypt through...
B4R Tutorial ESP32: AES256 encrypted & Base64 encoded post message to and from PHP - KMatle    
Feb 6, 2023   
(1 reaction)Example:
- AES256 encrypt a message with IV and Salt
- Base64 encode it
- send a http post request to a php script
- decrypt in php
- send back a AES256 encrypted and Base64 encoded message to..."))); //just for a test
print AES256_Encrypt("Hi from PHP", hex2bin(hash('sha256...)+encrypted_message (16*x)
- on the receivers side ID, Salt and IV will be removed from the message (only the raw message can be decrypted). The given IV must be used.
- Salt and IV are public (not encrypted) and...
B4A Question Looking for a simple encryption solution between B4A and PHP - toby    
May 11, 2022   
(1 reaction)I need a simple solution to encrypt some user id in B4A app and decrypt it on the server using PHP, and vice versa.
Earlier I was checking on RSA which might be a little overkill.
Any suggestion...
link: salt to the encrypted message
https://www.b4x.com/android/forum/threads/b4x-aes-256-encryption...
link: @Hamied Abou Hulaikah
- Secret key should be 32 characters.
I missed this part earlier and set the...
link: This is my favorite:
Public Sub AES_Encrypt(data As String, secretkey As String) As String...
B4A Question Problems wtih RSA encrypt/decrypt between B4A and PHP - toby    
May 11, 2022I want to be able to encrypt some data in B4A and decrypt it with PHP on the server and vice versa... decrypt successfully within B4A
2. Encrypt and decrypt successfully within PHP
Problems I'm facing
1. B4A decrypted data encrypted by PHP with some issue: The expected result, "this is a test...'0ռ�`z7<�j��R�����this is a test
2. PHP failed to decrypt data encrypted...
link: By specifying the optional paramter as follows, PHP can now decrypt data encrypted...
B4J Question [ Jserver ] encrypt with php codeigniter 4, decrypt with B4j - techknight (first post)    
Jul 10, 2023   
(1 reaction)Very similar thread popped up just before yours, and it provides some good information such as b4xcipher using the openssl underpinnings:
https://www.b4x.com/android/forum/threads/how-to-encrypt...
link:
Note:
See system\Encryption\Handlers
OpenSSLHandler
Raw Data
yes raw data is true by default...
link: Note:
See system\Encryption\Handlers
OpenSSLHandler
Raw Data...
link:
Yes, as my reply here, the closest i have been trying is using Alice library, but again there is an...
B4A Question Encrypt a URL php link - yiankos1    
Aug 21, 2015Hello my friends,
I use at my code a URL php link that is connected to MySQL database at my server.
http://xxx.com/test.php?secret=password&id=add&name=test
If someone decompile (dex2jar) my...
link: Thank you very much for replies! I will try them! Have a nice day!...
link: maybe this can help you :
https://www.b4x.com/android/forum/threads/connect-android-to-mysql-databa...
link: Thank you very much fro quick answer. I am little bit newbie at php script. Can you point somewhere...
Share My Creation (PHP/MySQL/API) User Login App - aeric    
Aug 16, 2024   
(31 reactions) simple PHP with mysql_query function. I have later updated the 2nd sample with mysqli since mysql functions are deprecated in PHP.
Recently I am thinking to update the sample project with what... the use of PDO in PHP. The sample I shared here is just intended for learning purpose. Anyone... the code in email confirmation.
The PHP app I share here is a cut down version of PHP backend I use in production. It is based on MVC concept where it provides a web application front-end and includes php...
B4A Question mD5 encryption lib is different to php.md5 encryption?? - Oldmanenzo (first post)    
Dec 5, 2014 if not with their code in php
to those who want to and we can these parameters
PWD in vbulettin...
link: thanks Erel
I read an article you indicated, and I think I understand what the code is "salt&qu...
link: .
vBulletin password hash is described here: http://www.vbulletin.org/forum/showthread.php?t=178091...
link: Thanks Douglas, I had a look at your code, but I think I have a problem different from yours. I have...
Page: 1  
2  
3  
4  
5  
6  
7