Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 548 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 548 Bytes

SimpleToken

A very simple library that generates readable random tokens. The tokens are strings that alternate between a lowercase consonant and a vowel, making them easy to dictate or to write on a piece of paper.

The total number of different possibilities with length $n$ is $20^{\lceil\frac{n}{2}\rceil} \cdot 6^{\lfloor\frac{n}{2}\rfloor}$. With tokens of length 10, that is $24883200000$.

It is advised that you check if a token has not been generated before.

Nuget

Get it on nuget.