필드 · Password

필드 · Password · internet.password. 생성 메서드 · 예시

internet.password

생성 설정

데이터를 생성하면 결과가 표시됩니다.

매개변수 & 예시

Generates a random password-like string. Do not use this method for generating actual passwords for users. Since the source of the randomness is not cryptographically secure, neither is this generator.

internet.password(options?: { length?, memorable?, pattern?, prefix? })
options
An options object.
options.length
The length of the password to generate. Defaults to 15.
options.memorable
Whether the generated password should be memorable. Defaults to false.
options.pattern
The pattern that all chars should match. This option will be ignored, if memorable is true. Defaults to /\w/.
options.prefix
The prefix to use. Defaults to ''.

예시

"aIBq1lgKpeyaDPZ"

테스트 환경에서 합성 데이터를 사용하세요.

관련 생성기

시나리오 탐색