SudokuFX
Loading...
Searching...
No Matches
fr.softsf.sudokufx.config.database.GenerateSecret Class Reference

Utility class for generating secure passwords using the Passay library. More...

Collaboration diagram for fr.softsf.sudokufx.config.database.GenerateSecret:

Public Member Functions

String generatePassaySecret ()
 Generate Passay secret with random length using SecureRandomGenerator.

Static Private Member Functions

static CharacterData createSpecialChars ()
 Define the secret special characters.

Static Private Attributes

static final int MAX_SECRET_LENGTH = 32
static final int MIN_SECRET_LENGTH = 24

Detailed Description

Utility class for generating secure passwords using the Passay library.

Member Function Documentation

◆ createSpecialChars()

CharacterData fr.softsf.sudokufx.config.database.GenerateSecret.createSpecialChars ( )
staticprivate

Define the secret special characters.

Returns
The special characters

◆ generatePassaySecret()

String fr.softsf.sudokufx.config.database.GenerateSecret.generatePassaySecret ( )

Generate Passay secret with random length using SecureRandomGenerator.

Returns
The Passay secret
Here is the call graph for this function:

Member Data Documentation

◆ MAX_SECRET_LENGTH

final int fr.softsf.sudokufx.config.database.GenerateSecret.MAX_SECRET_LENGTH = 32
staticprivate

◆ MIN_SECRET_LENGTH

final int fr.softsf.sudokufx.config.database.GenerateSecret.MIN_SECRET_LENGTH = 24
staticprivate

The documentation for this class was generated from the following file: