timestep

Recommend this page to a friend!

      multiOTP PHP class  >  All threads  >  timestep  >  (Un) Subscribe thread alerts  
Subject:timestep
Summary:What is timestep
Messages:6
Author:stig husby
Date:2010-10-04 13:20:26
Update:2013-07-09 18:04:15
 

  1. timestep   Reply   Report abuse  
Picture of stig husby stig husby - 2010-10-04 13:20:32
Hi,

Excellent class. I'm trying to figure out how to use the ComputeMotp() function. And have a few questions:

ComputeMotp($seed_and_pin, $timestep, $token_size)

1) How do I concatenate $seed and $pin?
$seed . $pin

2) What is $timestep?
I tried to use time() but I'm not really sure what it is ??

3)I guess $token_size is number of tokens?
6 by default?)


best regards
Stig Husby

  2. Re: timestep   Reply   Report abuse  
Picture of stig husby stig husby - 2010-10-04 14:03:55 - In reply to message 1 from stig husby
PS! I'm using the Miceli brothers MobileOTP client for android to generate the code on the client side.

-stig-

  3. Re: timestep   Reply   Report abuse  
Picture of stig husby stig husby - 2010-10-04 14:15:39 - In reply to message 1 from stig husby
Never mind :-)

I figured it out:

$timestep = floor(mktime() / 10 );

In addition i found that the mobile client had some helpful features like displaying the TIME and also viewing the hidden keyword which was converted to hex values, and that also did some affect ..

thanx for a great class!

-stig-

  4. Re: timestep   Reply   Report abuse  
Picture of André Liechti André Liechti - 2010-10-04 20:05:33 - In reply to message 1 from stig husby
Hello,

timestep is not always the same, it depends the specification of your token manufacturer or developper.

Best regrads,

Andre

  5. Re: timestep   Reply   Report abuse  
Picture of stig husby stig husby - 2010-10-05 06:30:19 - In reply to message 4 from André Liechti
ok. Thanks.

I found the formula on the mobile otp site.

Do you have any simple examples on the different algorithms?
Which settings needs to be applied on the different algorithms?

What is the difference on token / user token?

-stig-

  6. Re: timestep   Reply   Report abuse  
Picture of André Liechti André Liechti - 2013-07-09 18:04:15 - In reply to message 5 from stig husby
Hello,

Now the beta version of the release 4 is available on http://www.multiotp.net/.

Regards,

Andre

 

For more information send a message to info at phpclasses dot org.