make_random_string(size_t, string_view alphabet)

Open
#39 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
backend

Research direction

Start by locating the existing password example mentioned in the issue and read how it currently generates strings. Then review the surrounding public random APIs before deciding how the proposed generic function and its default alphabet should fit. Done means an agreed library API with coverage for the requested alphabet behavior, but the issue does not name files or tests.

Written by the indexing model from the issue text.

Description

A make password example is available which is nice. I think turning the example into an actual, more generic, library function might be even nicer. How about make_random_string(size_t, string_view alphabet), perhaps with alphabet defaulting to 0-9, A-Z, a-z?

Dominant language
C++
Stars
42
Forks
76
Avg merge
3d 22h
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/random

All issues in boostorg/random

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.