UtilPasswordsGenerateMemorablePassword(MemorablePasswordOptions) Method
Generates a memorable password based on the provided options,
using the built-in word list of common english words.
A memorable password is a type of password that is designed to be easy to remember,
while still providing a reasonable level of security.
It is a password generation methodology that aims to be recalled by the user
without the need for written notes or relying solely on password managers.
The concept behind a memorable password is to create a combination of words, phrases,
or memorable patterns that are personally meaningful to the user.
This can include using familiar words, personal information,
or unique combinations that have personal significance.
The goal is to create a password that is both secure and memorable,
striking a balance between convenience and protection.
Namespace: DevCase.Core.Security.PasswordsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
- options MemorablePasswordOptions
-
The options for generating the memorable password.
String
The resulting memorable password.
The generated password by this function follows the following format:
(FixedPrefix)(DigitsPrefix+Separator)(Words+Separators)(Separator+DigitsSuffix)(FixedSuffix)
This is a code example.
No code example is currently available or this language may not be supported.
Dim options As New MemorablePasswordOptions With {
.NumberOfWords = 3,
.MinimumWordLength = 4,
.MaximumWordLength = 8,
.SeparatorCharacters = "._-+".ToCharArray(),
.StringCase = MemorablePasswordStringCase.TitleCase,
.FixedPrefix = Nothing,
.FixedSuffix = "!",
.NumberOfDigitsPrefix = 0,
.NumberOfDigitsSuffix = 3
}
For i As Integer = 0 To 10
Dim password As String = GenerateMemorablePassword(options)
Console.WriteLine(password)
Next
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.