export function calculateEntropy(password: string): number {
    const uniqueChars = new Set(password).size;
    const length = password.length;
    return Math.log2(Math.pow(uniqueChars, length));
  }
  