---
title: "Discussion on \"11. Simple Logic for Complex Password Generation\" | Hashnode"
description: "Discussion on \"11. Simple Logic for Complex Password Generation\". Given a set of characters, generate a password with random characters from the set of characters, with the length of the password given by the user [which should be <= length of the set of characters].\nconst createPassword = (characters: string, pass..."
url: "https://hashnode.com/posts/11-simple-logic-for-complex-password-generation/64995a37bc2597358554563b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [11\. Simple Logic for Complex Password Generation](https://maroofs.hashnode.dev/11-simple-logic-for-complex-password-generation?utm_source=hashnode&utm_medium=feed)

Given a set of characters, generate a password with random characters from the set of characters, with the length of the password given by the user \[which should be <= length of the set of characters\]. const createPassword = (characters: string, pass...

Jun 26, 2023 · 2 min read · maroofs.hashnode.dev  
Read the article

-   [#passwords](https://hashnode.com/tag/passwords)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#react-native](https://hashnode.com/tag/react-native)

## Written by

[Maroof Siddiqui](https://hashnode.com/@maroofs)

@maroofs

  
[View profile](https://hashnode.com/@maroofs)

Networking Enthusiasts | Mern Developer | Content Creator

A Student who is fascinated by Learning and sharing Technology.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
