Skip to content

d3jv/simpletoken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple readable random token C# library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages