Classes | Enumerations

YAPET::PWGEN Namespace Reference

Namespace for pwgen. More...

Classes

class  CharacterPool
 Generate character pools. More...
class  PWGen
 Generates a password. More...
class  PWGenException
 PWGen exception base class. More...
class  PWGenNoRNGException
class  PWGenRNGNotAvailable
 Requested RNG is not available. More...
class  RNG
 class for interfacing random number generators. More...

Enumerations

enum  RNGENGINE {
  DEVRANDOM = (1 << 0), DEVURANDOM = (1 << 1), LRAND48 = (1 << 2), RAND = (1 << 3),
  AUTO = (1 << 4), NONE = 0
}
enum  SUBPOOLS {
  LETTERS = (1 << 0), DIGITS = (1 << 1), PUNCT = (1 << 2), SPECIAL = (1 << 3),
  OTHER = (1 << 4), ALL = LETTERS | DIGITS | PUNCT | SPECIAL | OTHER, NOPOOL = 0
}
 

Available character pools.

More...

Detailed Description

All password generator related classes belong to this namespace.


Enumeration Type Documentation

Enumerator:
DEVRANDOM 
DEVURANDOM 
LRAND48 
RAND 
AUTO 
NONE 

Definition at line 46 of file rng.h.

Pools to choose from.

Enumerator:
LETTERS 

Letters: a-z, A-Z

DIGITS 

Digits: 0-9

PUNCT 

Punctuation characters: comma, semicolon, etc.

SPECIAL 

Special characters: #,(,), etc.

OTHER 

Other characters

ALL 
NOPOOL 

Definition at line 51 of file charpool.h.