uuid-key-generator
Advanced tools
Comparing version
{ | ||
"name": "uuid-key-generator", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Generates random keys with custom size and base-encoding using the RFC4122 v4 UUID algorithm", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/nwoltman/uuid-token-generator/tree/key-generator", |
# UUID Key Generator | ||
#### This module has been deprecated in favour of [`uuid-token-generator`](https://www.npmjs.com/package/uuid-token-generator). Please note that there are [breaking changes](https://github.com/nwoltman/uuid-token-generator/releases/tag/v0.4.0) when upgrading to `uuid-token-generator`. | ||
#### This module has been deprecated in favour of [uuid-token-generator](https://www.npmjs.com/package/uuid-token-generator). Please note that there are [breaking changes](https://github.com/nwoltman/uuid-token-generator/releases/tag/v0.4.0) when upgrading to `uuid-token-generator`. | ||
#### However, you should probably use [uid-generator](https://www.npmjs.com/package/uid-generator) instead since it allows for more customization in the tokens it generates and does not produce overlapping UIDs. | ||
--- | ||
@@ -40,5 +42,5 @@ | ||
| Param | Default | Type | Description | | ||
|-------|---------|------|-------------| | ||
| [bitSize] | `128` | Number | The size of the key to generate in bits. Must be a multiple of 128. | | ||
| [baseEncoding] | `KeyGenerator.BASE58` | String | One of the `KeyGenerator.BASE##` constants or a custom string of characters to use to encode the key. | | ||
|:------|:--------|:-----|:------------| | ||
| [bitSize] | `128` | number | The size of the key to generate in bits. Must be a multiple of 128. | | ||
| [baseEncoding] | `KeyGenerator.BASE58` | string | One of the `KeyGenerator.BASE##` constants or a custom string of characters to use to encode the key. | | ||
@@ -45,0 +47,0 @@ **Example** |
8029
2.7%102
2%