# Function: passwordStrength()

```ts
function passwordStrength(password): PasswordCheck;
```

Defined in: [packages/core/src/session/password-strength.ts:86](https://github.com/leifriksheim/minca/blob/main/core/src/session/password-strength.ts#L86)

A guess at how hard `password` is to guess, and a line saying so. It reads
the password as the vault does, NFKC-normalised (01 §11.3), so a fullwidth
"ｐａｓｓｗｏｒｄ" is judged as the "password" that opens it.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `password` | `string` |

## Returns

[`PasswordCheck`](https://minca.dev/api/session/interfaces/PasswordCheck.md)
