mirror of
https://github.com/S2-/pwgen.git
synced 2025-08-02 00:40:08 +02:00
use only special ascii chars
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
function randPassword(length, includeSpecial, exclude) {
|
||||
let pwdChars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
||||
if (includeSpecial) {
|
||||
pwdChars += ' !"#$%&\'()*+,-./:;<=>?@[\]^_`{|}~eB€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ';
|
||||
pwdChars += '!"#$%&\'()*+,-./:;<=>?@[\]^_`{|}~';
|
||||
}
|
||||
|
||||
if (exclude) {
|
||||
|
Reference in New Issue
Block a user