使用方法: TOTP Code 生成器

TOTP Code 生成器 是一款免费在线安全工具工具,可在浏览器中即时generate RFC 6238 time-based one-time passwords from a Base32 secret, with the otpauth URI。粘贴数据、调整选项即可实时获得结果——无需安装、无需注册,任何数据都不会上传到服务器。

立即使用 TOTP Code 生成器 →

说明

Generate RFC 6238 time-based one-time passwords from a Base32 secret, with the otpauth URI.

  • 安全工具
  • 由于全部计算都在客户端完成,使用 API 密钥、令牌或私有日志等敏感数据处理时,TOTP Code 生成器 同样安全。
输入 TOTP Code 生成器 输出 100% 在浏览器内运行——数据不会离开您的设备。
TOTP Code 生成器 — 输入 → 输出

使用方法

使用 TOTP Code 生成器 只需三步:

  1. 将数据粘贴到输入框(或载入示例)。
  2. 根据目标格式或使用场景调整选项。
  3. 复制、下载或查看输出——输入时结果实时更新。
使用方法 · TOTP Code 生成器 1 将数据粘贴到输入框(或载入示例)。 2 根据目标格式或使用场景调整选项。 3 复制、下载或查看输出——输入时结果实时更新。
使用方法

运行

示例

The classic Base32 test secret. Set the Unix time override to 59 and 8 digits to reproduce the RFC 6238 test vector 94287082.

输入

JBSWY3DPEHPK3PXP

输出

Current code   151746     (valid 3s more)
Previous       804447
Next           816454

Unix time      1789313337
Time step      59643777  (counter = floor(time / 30))
Algorithm      HMAC-SHA-1
Digits         6
Period         30s
Secret         JBSWY3DPEHPK3PXP (10 bytes after Base32 decode)

otpauth:// URI (for authenticator apps and QR generators)
otpauth://totp/26173?secret=JBSWY3DPEHPK3PXP&issuer=26173&algorithm=SHA1&digits=6&period=30

RFC 6238: the counter is the 30-second step since the Unix epoch, big-endian,
HMAC'd with the shared secret; 4 bytes are extracted by dynamic truncation.
Everything is computed in your browser — the secret is never transmitted.

此输出由工具真实运行产生,并非人工编写。

使用场景

TOTP Code 生成器 常见的使用场景:

  • Generate RFC 6238 time-based one-time passwords from a Base32 secret, with the otpauth URI.

参数说明

此工具没有可配置参数,直接对输入内容生效。

常见问题

什么是 TOTP Code Generator?

TOTP Code Generator 用于generate RFC 6238 time-based one-time passwords from a Base32 secret, with the otpauth URI。它完全在浏览器内运行,数据保持私密。

TOTP Code Generator 可以免费使用吗?

可以。TOTP Code Generator 免费、无次数限制,无需注册或安装。

我的数据会被上传吗?

不会。所有处理都在本地浏览器完成,不会发送到任何服务器。

注意事项

  • 全部计算在浏览器端完成,因此超大输入受限于标签页内存,而非服务器上传限制。

相关工具

TOTP Code 生成器 → · 安全工具 →

立即使用 TOTP Code 生成器 →