S
S
SamGekko2020-10-08 00:14:13
Java
SamGekko, 2020-10-08 00:14:13

Generation of all kinds of passwords. Java.Threads. How to do?

How to make, using streams, a generator of all possible n-digit passwords from an ASCII table? Explain the algorithm and/or provide code please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mayton2019, 2020-10-08
@mayton2019

Recursively depth-first search on the given table until the length is exhausted.
But something tells me that you need to make a single-threaded version first.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question