Hello everybody
I have a set of data that I want to save in the database, how do I encrypt it to protect it before sending it to the server .
What is the best way to encrypt it and how? can anyone help me .
I have a set of data that I want to save in the database, how do I encrypt it to protect it before sending it to the server .
B4X:
Dim Products As List
Products.Initialize
Do While RS.NextRow
'
Dim Items As Map = CreateMap("item_id" : RS.GetInt("id"), _
"item_quantity" : RS.GetInt("qty"), "item_price" : RS.GetDouble("price"), _
"item_name" : RS.GetString("name"))'
Products.Add(Items)
Loop
RS.Close
Dim JSON As JSONGenerator
JSON.Initialize2(Products)
Dim JSONstring As String
JSONstring = JSON.ToString
What is the best way to encrypt it and how? can anyone help me .