Thread: One Time Password?
|
Replies:
2
-
Last Post:
Jan 16, 2018 6:12 AM
Last Post By: KabloNET Progra...
|
Threads:
[
Previous
|
Next
]
|
|
Posts:
17
Registered:
7/4/03
|
|
Hi,
i want to create time based one time password from ios and anroid, and use from my desktop application (Win64). If user provide correct password, he/she will open certain forms. I found a google authenticator unit:
http://lookinside.free.fr/delphi.php?GoogleAuthenticator
I create a multi device application on Delphi Tokyo. But ios and win64 generate different number, passwords doesn't match.
How could i resolve this problem? Could you suggest another one time password solution?
Thanks.
|
|
|
Posts:
1,850
Registered:
1/7/00
|
|
KabloNET Programmer wrote:
That code doesn't take into account that strings on mobile are zero-based (as opposed to 1-based). If I have time (and
someone else doesn't beat me to it), I could look at what needs to be changed.
--
Dave Nottage [MVP, TeamB]
Find hints, tips and tricks at Delphi Worlds blog: http://www.delphiworlds.com
|
|
|
|
Posts:
17
Registered:
7/4/03
|
|
Thanks a lot @Dave,
i add {$ZEROBASEDSTRINGS OFF} in unit and it did works.
|
|
|
|
Legend
|
|
Helpful Answer
(5 pts)
|
|
Correct Answer
(10 pts)
|
|
Connect with Us