aboutsummaryrefslogtreecommitdiff
path: root/src/modules/internet
diff options
context:
space:
mode:
authorDavid Ashby <[email protected]>2023-03-23 10:25:13 -0400
committerGitHub <[email protected]>2023-03-23 15:25:13 +0100
commit4490a9ebc8e47c0a46480e7aacb5b9a4ed30da01 (patch)
tree147dcf5ddf41a20d2d8b4cee9586416a890361d7 /src/modules/internet
parent5f3df23a22ca50d495c6a0beaf3a94849db1f12a (diff)
downloadfaker-4490a9ebc8e47c0a46480e7aacb5b9a4ed30da01.tar.xz
faker-4490a9ebc8e47c0a46480e7aacb5b9a4ed30da01.zip
docs(internet): password doesn't create crypto-secure PWs (#1961)
Diffstat (limited to 'src/modules/internet')
-rw-r--r--src/modules/internet/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/internet/index.ts b/src/modules/internet/index.ts
index 75bebae0..3502f85b 100644
--- a/src/modules/internet/index.ts
+++ b/src/modules/internet/index.ts
@@ -1293,7 +1293,8 @@ export class InternetModule {
}
/**
- * Generates a random 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.
*
* @param options An options object. Defaults to `{}`.
* @param options.length The length of the password to generate. Defaults to `15`.