Sonic853 - UdonTotp
UdonTotp

基于时间的一次性密码(TOTP)兼容VRChat UdonSharp
Demo:https://vrchat.com/home/world/wrld_e47376a2-3fba-484d-b08f-3719aa18b18c
需要的资源
- Unity 2019.4.31f1
- VRChat SDK - Base 3.1.7
- VRChat SDK - Worlds 3.1.7
- UdonSharp 1.1.1 (v0.20.3 以及以下不受技术支持)
如何使用?
- 安装 release 里最新的 unitypackage
- 安装插件后,使用 TotpGen插件 或免费的 totp-wasm (来自Gizmo) 生成密钥
- 将示例“TotpKeypad”放入世界
- 为“TotpKeypad”里的“TOTP”脚本配置编译后密钥(secret)、时间间隔、验证码位数、容错倍数
- 全部完成!
License restrictions 许可限制
详见在线版
中国大陆地区(中国香港、中国澳门和中国台湾除外)的个人或公司如含有以下任一情况禁止使用该仓库许可以及商品许可并禁止使用此储存库以及商品(包括此储存库以及商品的任一文件):
- 不以个人名义创建的地图/世界
- 地图/世界参与制作人数超过 2 人以上(不含 2 人)
- 由 Sonic853 明确禁止的个人用户、公司
如需获得使用此储存库以及商品的授权,请联系作者 Sonic853 (sonic853@qq.com) 获取授权或访问 爱发电 手动获取授权。
Individuals or companies in Chinese Mainland (except Hong Kong China, Macau China, and Taiwan Province of China) are prohibited from using this repository license and products license and using this repository and products if the following circumstances apply:
- The map/world is not created in an individual capacity
- The map/world involves more than two participants in its creation (not including two participants)
- Any individual user or company explicitly prohibited by Sonic853
If you wish to obtain authorization to use this repository and its products, please contact the author Sonic853 (sonic853@qq.com) or manually acquire authorization via 爱发电.
此代码引用以下存储库:
Gorialis - Udon-HashLib https://github.com/Gorialis/vrchat-udon-hashlib
English
Time-based One-time Password algorithm (TOTP) Compatible with VRChat UdonSharp.
Demo: https://vrchat.com/home/world/wrld_e47376a2-3fba-484d-b08f-3719aa18b18c
Requirements
- Unity 2019.4.31f1
- VRChat SDK - Base 3.1.7
- VRChat SDK - Worlds 3.1.7
- UdonSharp 1.1.1 (v0.20.3 and below are not supported)
How to use ?
- Install the latest unitypackage in release.
- After installing the plugin, generate a secret key using TotpGen plugin or free totp-wasm (from Gizmo).
- Place the example "TotpKeypad" in the Scene.
- Configure the secret, period, digits, and tolerance for the "TOTP" script in "TotpKeypad".
- All done!
This code references the following repositories:
Gorialis - Udon-HashLib https://github.com/Gorialis/vrchat-udon-hashlib
Keywords
No keywords found.Install via VCC
Package ID
com.sonic853.udon.totpUnity Version
2022.3Unity Release
undefinedVRChat Version
undefined