usecases

package
v0.0.0-...-d720d73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PasswordService

type PasswordService interface {
	CalculateVariety(password string) int
	CalculateEntropy(password string) int
	CalculatePoolSize(password string) int
	CheckCommonPatterns(password string) int
	CalculateCombinationScore(password string) int
	CalculatePositionalDistributionScore(password string) int
}

type UseCases

type UseCases struct {
	// contains filtered or unexported fields
}

func New

func New(passwordService PasswordService) *UseCases

func (*UseCases) EvaluatePassword

func (u *UseCases) EvaluatePassword(password string) int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL