abstract class
Pwgen::Generator
- Pwgen::Generator
- Reference
- Object
Overview
Abstract base class for password generators.
Subclasses must implement the #generate method to create passwords
according to their specific algorithm (phoneme-based or random).
Direct Known Subclasses
Defined in:
pwgen/generator.crInstance Method Summary
-
#generate(length : Int32, flags : Feature, remove : String | Nil) : String
Generates a password with the specified parameters.
Instance Method Detail
Generates a password with the specified parameters.
length: Length of the password to generateflags: Feature flags controlling password characteristicsremove: Optional string of characters to exclude from generation
Returns a String containing the generated password.