func CalcBruteForceCardinality(password string) float64 {
	lower, upper, digits, symbols := float64(0), float64(0), float64(0), float64(0)

	for _, char := range password {
		if unicode.IsLower(char) {
			lower = float64(26)
		} else if unicode.IsDigit(char) {
			digits = float64(10)
		} else if unicode.IsUpper(char) {
			upper = float64(26)
		} else {
			symbols = float64(33)
		}
	}

	cardinality := lower + upper + digits + symbols
	return cardinality
}
func CalcBruteForceCardinality(password string) float64 {
	lower, upper, digits, symbols := float64(0), float64(0), float64(0), float64(0)

	for _, char := range password {
		if unicode.IsLower(char) {
			lower = float64(26)
		} else if unicode.IsDigit(char) {
			digits = float64(10)
		} else if unicode.IsUpper(char) {
			upper = float64(26)
		} else {
			symbols = float64(33)
		}
	}

	cardinality := lower + upper + digits + symbols
	return cardinality
}
func CalcBruteForceCardinality ( password string ) float64 { lower , upper , digits , symbols := float64 ( 0 ) , float64 ( 0 ) , float64 ( 0 ) , float64 ( 0 ) for _ , char := range password { if unicode . IsLower ( char ) { lower = float64 ( 26 ) } else if unicode . IsDigit ( char ) { digits = float64 ( 10 ) } else if unicode . IsUpper ( char ) { upper = float64 ( 26 ) } else { symbols = float64 ( 33 ) } } cardinality := lower + upper + digits + symbols return cardinality }
// CalcBruteForceCardinality calculates the brute force cardinality
//TODO: Validate against python
CalcBruteForceCardinality calculates the brute force cardinality TODO : Validate against python