15 lines
1.3 KiB
Markdown
15 lines
1.3 KiB
Markdown
# short-uuid
|
|
|
|
Rust port of the [short-uuid](https://www.npmjs.com/package/short-uuid) library. It can
|
|
encode and decode standard UUIDs into shorter formats.
|
|
|
|
## Formats
|
|
|
|
| Format | Len | Example | Description |
|
|
|--------------|-----|------------------------|--------------------------------------------------------------------------------------------------|
|
|
| Base58 | 22 | LxeUnqNwLWQUv2JDtUgQij | `A-z, 1-9` without `I`, `O`, `l`, ordered Numbers < Uppercase < Lowercase |
|
|
| Base58Flickr | 22 | kXDtMQnWkvptV2idTtFpHJ | `A-z, 1-9` without `I`, `O`, `l`, ordered Numbers < Lowercase < Uppercase |
|
|
| Base62 | 22 | E5AFntbcXX94NUWEAnyKso | `A-z, 0-9`, ordered Uppercase < Lowercase < Numbers |
|
|
| Base64 | 22 | ChoqOksbLBwtHS09TV1tfY | `A-z, 0-9, +/`, ordered Uppercase < Lowercase < Numbers < Special |
|
|
| Base64Url | 22 | ChoqOksbLBwtHS09TV1tfY | `A-z, 0-9, -_`, ordered Uppercase < Lowercase < Numbers < Special |
|
|
| Base90Cookie | 20 | f[C/Q&zL=$&/`K7o~DT! | `` A-z, 0-9, !#$%&'()*+-./:<=>?@[]^_{\|}~` ``, ordered Numbers < Lowercase < Uppercase < Special |
|