Android Question Encrypt/Decrypt uploaded files between B4X and PHP

somed3v3loper

Well-Known Member
Licensed User
Longtime User
Hello all,

I need to upload a file to a php hosting and want PHP to encrypt it in a way that is compatible with B4X so I can download it later from B4X and decrypt it .

Is this possible ? Do we have a working example ? Files can be large .
Or should I encrypt it (in B4J for example) before uploading ?

Regrards
 

somed3v3loper

Well-Known Member
Licensed User
Longtime User
Upvote 0

KMatle

Expert
Licensed User
Longtime User
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime User
you can upload the Encrypted files from b4a/b4j with lib okhttputils2.
at server side you can store it in file system or database. the long blob field type in mysql can store 4 GB.
with a virtual server hosting it should be possible to access a database direct via jRDC2.
u have to balance pro and cons using files in a database.
 
Upvote 0
Top