Generates random usernames.
Go to file
2024-04-16 21:12:57 +02:00
include feat: Added optional param for seed 2024-04-16 20:43:43 +02:00
src feat: Added optional param for seed 2024-04-16 20:43:43 +02:00
.gitignore Initial code 2024-04-14 22:46:40 +02:00
LICENSE Initial commit 2024-04-12 18:24:09 +02:00
Makefile Initial code 2024-04-14 22:46:40 +02:00
README.md change(README): Added description for format and parameters 2024-04-16 21:12:57 +02:00

random-username-generator

Generates random usernames using the Mersenne Twister 19937 engine.

Format

The generated usernames have the format <random letters><random numbers>, with count of numbers and total length being randomly generated within a certain range, which can be adjusted via command line arguments.

Parameters

The following parameters can be specified:

  • --min-char : The minimum number of characters (including numbers) (default: 8)
  • --max-char : The maximum number of characters (including numbers) (default: 10)
  • --min-num : The minimum number of digits (default: 0)
  • --max-num : The maximum number of digits (default: 4)
  • --count : How many usernames should be generated (default: 1)
  • --seed : String used as seed sequence. If not defined, system time will be used instead.