A function for MySQL which verifies Mobile One Time Passwords and remeber them to make them only valid for one time.

1. Create table otp_history like shown in mysql-motp.func.

2. Paste text from mysql-motp.func into your mysql-session

3. You are ready to start.

The function otpverify returns a bool value, so:
1 := True (is valid)
0 := False (wrong)

mysql> select otpverify('1234','624d4f','0123456789abcdef') as result\G
result: 1

mysql> select otpverify('1234','624d4f','0123456789abcdef') as result\G
result: 0

Features

  • motp
  • mysql

Project Activity

See All Activity >

Follow mysql-motp

mysql-motp Web Site

You Might Also Like
Achieve perfect load balancing with a flexible Open Source Load Balancer Icon
Achieve perfect load balancing with a flexible Open Source Load Balancer

Take advantage of Open Source Load Balancer to elevate your business security and IT infrastructure with a custom ADC Solution.

Boost application security and continuity with SKUDONET ADC, our Open Source Load Balancer, that maximizes IT infrastructure flexibility. Additionally, save up to $470 K per incident with AI and SKUDONET solutions, further enhancing your organization’s risk management and cost-efficiency strategies.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of mysql-motp!

Additional Project Details

Registered

2014-05-16