Building 70 Projects ranging from beginner to advanced so anyone can — learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company 👇
Go aicertificationcloud-engineeringcybercybersecuritycybersecurity-analystcybersecurity-certificationcybersecurity-certificationscybersecurity-educationcybersecurity-jobscybersecurity-portfoliocybersecurity-projectscybersecurity-toolsgrchackinglearningpentestingproject-repositoryprojetcspython
/*
©AngelaMos | 2026
RuleSet.hpp
Password mutation rules using C++23 std::generator coroutines
Connects to:
rules/RuleSet.cpp - implementation of all mutation generators
attack/RuleAttack.cpp - calls apply_all() for each dictionary word
config/Config.hpp - MAX_APPEND_DIGIT, MAX_PREPEND_DIGIT limits
*/
#pragma once
#include <generator>
#include <string>
#include <string_view>
class RuleSet {
public:
static std::generator<std::string> capitalize_first(std::string_view word);
static std::generator<std::string> uppercase_all(std::string_view word);
static std::generator<std::string> leet_speak(std::string_view word);
static std::generator<std::string> append_digits(std::string_view word);
static std::generator<std::string> prepend_digits(std::string_view word);
static std::generator<std::string> reverse(std::string_view word);
static std::generator<std::string> toggle_case(std::string_view word);
static std::generator<std::string> apply_all(std::string_view word);
};