← Mật khẩu và bảo mật

Mật khẩu/công cụ bảo mật

Trình tạo chuỗi ngẫu nhiên

Tạo chuỗi ngẫu nhiên bằng cách sử dụng bộ ký tự đặt trước hoặc tùy chỉnh.

Chạy trong trình duyệt của bạn

Độ dài: 1–1.024 ký tự. Lô: 1–100 chuỗi, tổng cộng tối đa 10.000 ký tự. Một bộ tùy chỉnh cần có 2–256 ký tự riêng biệt không có khoảng trắng hoặc ký tự điều khiển. Các bản sao bị bỏ qua.

Mỗi ký tự được chọn bằng nguồn mã hóa ngẫu nhiên và lấy mẫu từ chối để tránh sai lệch. Sức mạnh phụ thuộc vào độ dài và bộ ký tự bạn chọn. Kết quả chỉ được tạo ra khi bạn nhấn nút.

English guide · Ghid în română

Practical guide

Create random strings with a preset or custom alphabet for test data and application identifiers. Choose an alphabet that the receiving system can store without alteration.

Steps that matter

  1. Set the length, quantity and allowed character set.
  2. Generate and check whether case sensitivity or punctuation affects the destination.
  3. For production tokens, also implement expiry, permissions and secure storage in your application.

Worked example

With 16 possible hexadecimal characters and 8 independent positions, there are 16⁸ = 4,294,967,296 possible strings. This counts possibilities; it does not guarantee uniqueness for a generated batch.

Check before using the result

  • Short strings and small alphabets have fewer combinations. Enforce uniqueness where your application requires it.
  • A generated string alone is not a complete session or API-key design. Do not treat an example value from a guide as a secret.