隨機註冊機

API 金鑰、JWT 秘密、十六進位金鑰、UUID 等 - 點選即可複製。

免費隨機密鑰和秘密產生器

設定新服務?您需要 API 金鑰、JWT 秘密、十六進位令牌和其他隨機字串。 Dokall 在一個位置產生多種金鑰格式 - 按一下任何結果將其複製到剪貼簿。

非常適合引導 .env 檔案、測試驗證流程或產生開發憑證,而無需使用命令列。

Frequently Asked Questions

What types of keys can I generate?
Dokall generates hex keys, Base64 keys, alphanumeric strings, UUIDs, and JWT-compatible secrets in various lengths. Each format suits different use cases - hex for crypto keys, Base64 for API tokens, UUIDs for unique identifiers.
Are the keys cryptographically secure?
Yes. Keys are generated using crypto.getRandomValues(), which pulls from your operating system's cryptographic random number generator. This is the same source used by security libraries and password managers.
What length should a JWT secret be?
For HS256, use at least 256 bits (32 bytes) of randomness. A 64-character hex string or 44-character Base64 string provides adequate entropy. Longer secrets are better but rarely necessary beyond 512 bits.
Can I generate multiple keys at once?
Yes. Generate batches of keys in your chosen format and length. Click any result to copy it to your clipboard.
Is it safe to generate secrets online?
Dokall generates keys entirely in your browser - nothing is sent to a server. For production secrets, browser-based generation is acceptable when using crypto.getRandomValues(). Avoid generating secrets on untrusted or public computers.