I'm stuck with this, I have no idea how to insert those bytes variables.
This is what I have:
I'm getting an "Internal Error"
In the table, only hash and salt are blob type
Help
This is what I have:
B4X:
Dim password As String
password = "Te$t2015"
Dim salt() As Byte = Utils.CalcSalt(password)
Dim hash() As Byte = Utils.CalcHash(password, salt)
ExecuteRemoteQuery("INSERT INTO Users (Name, LastName, Email, Hash, Salt, Phone) VALUES ('aaa', 'xxxx', '[email protected]', " & Array As Object(hash) & "," & Array As Object(salt) & ",'9994332222'", NEW_USER)
I'm getting an "Internal Error"
In the table, only hash and salt are blob type
Help