diff --git a/components/seo/PasswordGeneratorSEO.tsx b/components/seo/PasswordGeneratorSEO.tsx deleted file mode 100644 index eb08edb..0000000 --- a/components/seo/PasswordGeneratorSEO.tsx +++ /dev/null @@ -1,92 +0,0 @@ -export default function PasswordGeneratorSEO() { - return ( -
-
-

- Generate secure passwords instantly with this free online password - generator. Whether you're protecting your accounts, apps, or - sensitive data, Jam's Password Generator creates strong, - randomized passwords to keep you safe. -

-
- -
-

How to Use Jam's Password Generator

-

- Quickly create a strong password tailored to your needs. Follow these - simple steps: -

- -
- -
-

Why Use a Password Generator?

-

- Manually created passwords are often weak and easy to guess. A - password generator helps you avoid common mistakes and ensures your - credentials are strong. -

- -
- -
-

FAQs

- -
-
- ); -} diff --git a/components/seo/RandomStringGeneratorSEO.tsx b/components/seo/RandomStringGeneratorSEO.tsx new file mode 100644 index 0000000..370ae45 --- /dev/null +++ b/components/seo/RandomStringGeneratorSEO.tsx @@ -0,0 +1,94 @@ +export default function RandomStringGeneratorSEO() { + return ( +
+
+

+ Generate cryptographically secure random strings instantly with this + free online random string generator. Whether you're creating API + keys, tokens, or secure identifiers, Jam's Random String + Generator creates strong, randomized strings with password-like + structure to keep your applications secure. +

+
+ +
+

How to Use Jam's Random String Generator

+

+ Quickly create a cryptographically strong random string tailored to + your needs. Follow these simple steps: +

+ +
+ +
+

Why use a Random String Generator?

+

+ Manually created strings are often predictable and easy to guess. A + random string generator helps you avoid common patterns and ensures + your generated strings are cryptographically secure. +

+ +
+ +
+

FAQs

+ +
+
+ ); +} diff --git a/components/utils/tools-list.ts b/components/utils/tools-list.ts index eacad4c..15d2799 100644 --- a/components/utils/tools-list.ts +++ b/components/utils/tools-list.ts @@ -156,9 +156,9 @@ export const tools = [ link: "/utilities/internet-speed-test", }, { - title: "Password Generator", + title: "Random String Generator", description: - "Mix uppercase, lowercase, numbers, and symbols to generate bulletproof passwords that will keep your accounts safe.", + "Generate cryptographically secure random strings with configurable character sets. Perfect for API keys, tokens, passwords, and secure identifiers.", link: "/utilities/password-generator", }, ]; diff --git a/pages/utilities/password-generator.tsx b/pages/utilities/random-string-generator.tsx similarity index 82% rename from pages/utilities/password-generator.tsx rename to pages/utilities/random-string-generator.tsx index b06919b..cf2b512 100644 --- a/pages/utilities/password-generator.tsx +++ b/pages/utilities/random-string-generator.tsx @@ -12,12 +12,12 @@ import CallToActionGrid from "@/components/CallToActionGrid"; import Meta from "@/components/Meta"; import { Input } from "@/components/ds/InputComponent"; import { PasswordBuilder } from "@/components/utils/password-generator.utils"; -import PasswordGeneratorSEO from "@/components/seo/PasswordGeneratorSEO"; +import RandomStringGeneratorSEO from "@/components/seo/RandomStringGeneratorSEO"; import GitHubContribution from "@/components/GitHubContribution"; import { cn } from "@/lib/utils"; export default function PasswordGenerator() { - const [password, setPassword] = useState(""); + const [generatedString, setGeneratedString] = useState(""); const [length, setLength] = useState(16); const [includeLowercase, setIncludeLowercase] = useState(true); const [includeUppercase, setIncludeUppercase] = useState(true); @@ -26,7 +26,7 @@ export default function PasswordGenerator() { const { buttonText, handleCopy } = useCopyToClipboard(); const outputRef = useRef(null); - const generatePassword = useCallback(() => { + const generateRandomString = useCallback(() => { const builder = new PasswordBuilder( includeLowercase, includeUppercase, @@ -34,7 +34,7 @@ export default function PasswordGenerator() { includeSymbols, length ); - setPassword(builder.Build()); + setGeneratedString(builder.Build()); }, [ includeLowercase, includeUppercase, @@ -75,15 +75,15 @@ export default function PasswordGenerator() { return (
@@ -147,7 +147,7 @@ export default function PasswordGenerator() {
- +
- +
- +