optimus icon indicating copy to clipboard operation
optimus copied to clipboard

Minimum or fixed integer length

Open jonagoldman opened this issue 7 years ago • 1 comments

I need some level of control over the generated integer length. I don't know if this is even possible as I don't see any updates on https://github.com/jenssegers/optimus/issues/15. If a fixed length is not possible, maybe a minimum length can be easier to implement?

jonagoldman avatar Dec 02 '17 21:12 jonagoldman

PR #36 introduces flexibility around this.

Note that from what I could see, the maths for generating the integers requires a binary numbers. This means you could restrict the numbers to 65535 but not 99999.

courtney-miles avatar Mar 01 '18 01:03 courtney-miles