Hi I'm using B4A 9.50. In designer I added Edittext1 and set input type as TEXT.
when I run the program and enter 1234 and use string variable to capture EdiText1.text .
The value I get is 1234 (0x4D2) not 1234. How to get text of "1234".
Please help.Is this a bug in this version? I never had this problem before.
Regards
this is my simple code
Dim waste As String = EditText1.Text
and I put debug to stop on this line and just move mouse on top to check waste value.
My problem is that waste will contain the password that will be hash and compare with the password in database.
I get not equal all the time.So I did debug to this line and found out that instead of getting just 1234 I get 1234 (ox4D2)
But on mobile I just press 1234
Please post a small project showing the problem.
Sorry, but with your explanation, I understand about nothing !
What is 'waste' value.
What is the 'hash' value?
etc.
I use log I get 1234 .if I use string as an example I did use waste to get the value I'm not getting 1234. I'm still getting 1234 (Ox4D2). As I need to pass this value to do hashing function so the value I get back from hashing function is different from the real hashing value of 1234.
Hi DonManfred thank you for your help it was my big fault. You're right. I found that by mistake I added SALT to my hashing function, which make the value not the same as before and I thought the problem was from here. Thank you again