Random Password Generator

Generate secure random password

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey to install this script.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
liquorburn
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
1
คะแนน
0 0 0
เวอร์ชัน
20260207
สร้างเมื่อ
07-02-2026
อัปเดตเมื่อ
07-02-2026
Size
2.5 กิโลไบต์
สัญญาอนุญาต
MIT
ปรับใช้กับ
ไซต์ทั้งหมด

Random Password Generator

This userscript adds a Menu Entry in your userscript manager. Click that entry to generate a cryptographically secure random password. You can find it in your clipboard, ready to paste where you need to use it.

Rejection sampling approach

Rejection sampling is a technique that generates uniformly distributed random values by discarding any numbers that would introduce statistical bias when mapping a large random range into a smaller one. By accepting only values within a perfectly divisible interval and using a cryptographically secure RNG such as crypto.getRandomValues, it preserves true uniformity and unpredictability, which are essential properties for cryptographic-grade password generation.

Screenshot

Tampermonkey menu

Please note

  • The default length of the password is 19 characters, you can adjust it by modifying the LEN constant in source code.
  • This userscript was tested with Tampermonkey on Brave and Greasemonkey on Firefox.