Tạo token bảo mật
Tạo khóa bí mật hoặc token
Chạy trong trình duyệt · Không tải lên
Hiện tại công cụ này và hướng dẫn trên trang vẫn bằng tiếng Anh. Nó hoạt động y như vậy: mọi thứ chạy trong trình duyệt của bạn.
Trình duyệt của bạn quá cũ để chạy công cụ này. Hãy cập nhật, hoặc dùng phiên bản hiện tại của Chrome, Edge, Firefox hoặc Safari.
- Không có gì rời khỏi thiết bị của bạn
- Máy chủ không giới hạn kích thước
- Không đăng ký, không hình mờ
- Miễn phí
How to generate a secure token
- Choose the format and strength (or length).
- Add a prefix if your keys use one, like sk_live_.
- Copy or download the tokens.
Which strength to choose
- 128 bits is the minimum for API keys, secrets and session IDs.
- 256 bits suits signing keys (for example JWT HS256 secrets) and long-lived secrets.
- Digits-only codes are for short-lived codes only: 6 digits is about 20 bits.
How the tokens are made
Every token comes from your browser's cryptographic random generator (crypto.getRandomValues), the same one used for encryption keys. Letters are picked without bias, so every character is equally likely. Nothing is stored or sent: once you leave the page, the tokens exist only where you copied them.
Câu hỏi thường gặp
How is this different from the Password Generator?
The Password Generator makes passwords for people to type and remember. This makes machine secrets: API keys, signing secrets and IDs, in hex or Base64.
Are the tokens sent anywhere?
No. Everything happens in your browser, and the page is blocked from uploading anything.