Skip to content

微信小程序 OTP 专用库,Port from node-notp and CryptoJS.

Notifications You must be signed in to change notification settings

tonyke-bot/wxapp-otp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wxapp-otp

微信小程序 OTP 专用库,Port from node-notp and CryptoJS.
This is a library port from node-notp and CryptoJS to adapt to WeChat Mini Program runtime.

这是一个用于微信小程序的 OTP 库,包含两种算法:

  • HOTP (counter based one time passwords)
  • TOTP (time based one time passwords)

是对已有开源库进行修改从而才能够运用到微信小程序之中,感谢
Thanks to these open source library authors

DEMO

DEMO

使用方法 Usage

  1. git clone https://github.com/THaGKI9/wxapp-otp.git 下载
  2. lib 文件夹下的 node-notp.jscrypto-js.js 复制到微信小程序项目目录下
  3. 引用并使用

文档 Documentation

Node One Time Password library

About

微信小程序 OTP 专用库,Port from node-notp and CryptoJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published