I'm porting lesspass password manager to powershell, but I'm having trouble when implementing the [\_consume\_entropy() method](https://github.com/lesspass/lesspass/blob/024d7439114b3a6c92db6e66a743880510cc5e5c/cli/lesspass/password.py#L59-L64), especially the Python `divmod`.

### Reproduce

```powershell
PS> [bigint]$EntropyAsInt = 99600400399777174105034830393873797761817714609490038944205586760025858632478
PS> Write-Host $EntropyAsInt
99600400399777173995117538344184441997741701018199539534149245151907290284032

```

### Difference

```diff
99600400399777174105034830393873797761817714609490038944205586760025858632478
99600400399777173995117538344184441997741701018199539534149245151907290284032
                ^ start diverging he

```

### Question

What's the matter here? Am I using the wrong type?