Skip to content
/ rsg Public

A project written in C++17 that allows you to generate strings with different modes, different character sets, and any length.

Notifications You must be signed in to change notification settings

beliumgl/rsg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random String Generator

A project written in C++17 that allows you to generate strings with different modes, different character sets, and any length (within a specified range).

Build

mkdir build && cd build
cmake ..
cmake --build .

Run

./testapp

Usage

#include <iostream>

#include <include/rsg.hpp>

int main() {
    unsigned short length = 20;
    unsigned char mode = 0; // truly random
    // Example usage
    RSG::RSG rsg = RSG::RSG("charset (you can edit this btw)", length, mode);

    std::cout << rsg.Generate() << '\n';
}

About

A project written in C++17 that allows you to generate strings with different modes, different character sets, and any length.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published