Archive for August 17th, 2009

Timed One Time Password (TOTP)

August 17th, 2009

This class can be used to generate and validate one time passwords that may expire after a period of time (without using a database or saving the password of any kind).

It generates a code based on a secret key that is valid during a period of time.

The class can also be used to validate the generated code in a different server and check if the code expired.

Download class

» Read more: Timed One Time Password (TOTP)

VN:F [1.9.13_1145]
Rating: 8.0/10 (1 vote cast)

PHP Yahoo Messenger Archive Decoder

August 17th, 2009

This class can be used to parse and extract information from Yahoo Messenger chat history files.

It can parse a given chat history file and extract several details of each message that was exchanged in the chat sessions.

The class retrieves the message text and length, timestamp and the identifier of the user that sent the message.

The message text is retrieved in HTML format, but the class may strip HTML formatting.

Download class

VN:F [1.9.13_1145]
Rating: 10.0/10 (1 vote cast)

Big Number Calculator

August 17th, 2009

This class can be used to add arbitrary precision numbers in pure PHP.

It takes two decimal numbers represented as strings of unlimited length and performs an addition digit by digit.

The result is another decimal number represented as a string.

Download class

» Read more: Big Number Calculator

VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)