Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

WorkingChen/GoogleAuthenticator

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
7 Commits
 
 
 
 
 
 

Repository files navigation

描述:谷歌动态令牌
用java实现,客户端生成6位动态口令。 基于 TOTP 方式
Base32String.java 是用来将String类型的秘钥格式化成byte数组用的。
除此之外,别无它用。

DynamicToken.java 是生成动态口令的类。时间片为30秒。

此算法的python描述为 hmac.new(secKey,invertal_no,hashlib.sha1).digest();

参考博客:http://www.csdn.net/article/2014-09-23/2821808-Google-Authenticator

About

客户端谷歌令牌 基于时间片的6位动态密码生成 java实现

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.